Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
LINE Developer Meet Up #2
Search
Yosuke Ishikawa
March 26, 2014
Technology
720
7
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
LINE Developer Meet Up #2
Yosuke Ishikawa
March 26, 2014
More Decks by Yosuke Ishikawa
See All by Yosuke Ishikawa
効率的な開発手段として VRTを活用する
ishkawa
1
260
アプリを起動せずにアプリを開発して品質と生産性を上げる
ishkawa
0
4.6k
Achieving Testability in Presentation Layer
ishkawa
4
4k
Introducing Wire: Dependency Injection by Code Generator
ishkawa
12
1.4k
Declarative UICollectionView
ishkawa
28
8.6k
Nuxt.jsが掲げる"Universal Vue.js Applications"とは何者か
ishkawa
10
2.9k
Static Dependency Injection by Code Generation
ishkawa
15
6.9k
実践クライアントサイドSwift
ishkawa
23
4.5k
JSON-RPC on APIKit
ishkawa
5
70k
Other Decks in Technology
See All in Technology
SREの視点で考えるSIEM活用術 〜AWS環境でのセキュリティ強化〜
cscengineer
PRO
0
280
Kiro Meetup #8 Kiro アップデート (2026/3/21〜2026/9/24)
katzueno
1
150
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
270
Von-Neumann Machines, Dreams & The Futures of IT
ufried
0
120
Railsのように考える: See through the Master
snoozer05
PRO
5
1.3k
品質と信頼性を地続きにする
grimoh
2
950
ソフトウェアDNAとクラウドエージェントのススメ
cloudace
0
120
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
4
710
AI時代の「技術的負債」の変質ー概念の終焉と再解釈、エージェントと共に向かう先
nwiizo
1
3.2k
ScotSecure West 2026 - Glasgow
raybugg
0
150
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
240
【ゲームメーカーズスクランブル2026】『Shadowverse: Worlds Beyond』UIとアニメーションで実現する最高のユーザー体験を叶えるプロトタイピング
cygames
PRO
0
140
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
560
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
700
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
480
The Spectacular Lies of Maps
axbom
PRO
1
1k
Between Models and Reality
mayunak
4
460
Site-Speed That Sticks
csswizardry
13
1.5k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
410
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
470
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Prompt Engineering for Job Search
mfonobong
0
460
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Transcript
iOS Development in LINE Corp. @_ishkawa
None
None
None
• iOSΤϯδχΞ4 • খ͞Ίͷձࣾ → େ͖Ίͷձࣾ
• ίϯϙʔωϯτͷ࠶ར༻ • ձࣾͰͷiOSΤϯδχΞͷׂ ࠓͷ
• ίϯϙʔωϯτͷ࠶ར༻ • ձࣾͰͷiOSΤϯδχΞͷׂ ࠓͷ LINEʹiOSΤϯδχΞ͕ͨ͘͞Μ͍ΔͷͰ
• ίϯϙʔωϯτͷ࠶ར༻ • ձࣾͰͷiOSΤϯδχΞͷׂ ࠓͷ LINEʹඇΤϯδχΞͨ͘͞Μ͍ΔͷͰ
None
ίϯϙʔωϯτʁ
[SVProgressHUD show];
• ؆୯ʹ࣮Ͱ͖ͦ͏ʹݟ͑Δ • ࡉ෦·ͰϚδϝʹͭ͘Δͷେม • SVProgressHUD800ߦ
֤ʑ͕ಠཱʹಉ͡ͷΛ ͭ͘Δͷ͍ͬͨͳ͍ 1ॻ͍ͨΒଞͷਓ ͑ΔΑ͏ʹ͠Α͏ʂ
• ։ൃ࣌ؒͷॖ • ࣭ͷ্ • ϝϯςφϯείετͷ੍ ϝϦοτ
͍ͭॻ͍ͯΔͷʁ
ΞϓϦݻ༗Ͱͳ͍ίʔυΛ ॻ͍ͯͨΒͦͷ෦ΛΓग़͢
ྫ: ISCyclicPagesView https://github.com/ishkawa/ISCyclicPagesView
• ແݶεΫϩʔϧόφʔ • 22ίϛοτ • 200ߦ
ΞϓϦͷίʔυͱಉ͡ॻ͖ํʁ
ΞϓϦͷίʔυͱಉ͡ॻ͖ํʁ
• ඞཁेͳΠϯλʔϑΣʔε • ଞͷ෭࡞༻Λؚ·ͳ͍ ཁ͢ΔʹߦّΑ͘
• ඞཁेͳΠϯλʔϑΣʔε • ଞͷ෭࡞༻Λؚ·ͳ͍
มߋՄೳͳϓϩύςΟΛߜΔ @interface ISCyclicPagesView : UIScrollView ! @property (nonatomic, readonly) NSInteger
currentPage; @property (nonatomic, readonly) NSInteger numberOfPages; @property (nonatomic, assign) id <ISCyclicPagesViewDataSource> dataSource; @property (nonatomic, assign) id <ISCyclicPagesViewDelegate> delegate; ! - (void)reloadData; - (void)scrollToPage:(NSInteger)page direction:(NSInteger)direction animated:(BOOL)animated; ! - (NSInteger)pageForView:(UIView *)view; - (UIView *)viewForPage:(NSInteger)page; ! @end
֎͔ΒݺΕ͍͍ͯϝιουͷΈΛެ։ @interface ISCyclicPagesView : UIScrollView ! @property (nonatomic, readonly) NSInteger
currentPage; @property (nonatomic, readonly) NSInteger numberOfPages; @property (nonatomic, assign) id <ISCyclicPagesViewDataSource> dataSource; @property (nonatomic, assign) id <ISCyclicPagesViewDelegate> delegate; ! - (void)reloadData; - (void)scrollToPage:(NSInteger)page direction:(NSInteger)direction animated:(BOOL)animated; ! - (NSInteger)pageForView:(UIView *)view; - (UIView *)viewForPage:(NSInteger)page; ! @end
෦ॲཧ༻ͷϓϩύςΟެ։͠ͳ͍ @interface ISCyclicPagesView () ! @property (nonatomic) NSInteger currentPage; @property
(nonatomic) NSInteger numberOfPages; @property (nonatomic, strong) NSArray *reusableViews; ! @end
෦ॲཧ༻ͷఆެ։͠ͳ͍ static NSInteger const ISReusableViewsCount = 3;
• ඞཁेͳΠϯλʔϑΣʔε • ଞͷ෭࡞༻Λؚ·ͳ͍
Өڹൣғͷେ͖͍֦ு view.frame = CGRectMake(10.f, view.frame.origin.x, view.frame.size.width, view.frame.size.height); view.x = 10.f;
Өڹൣғͷେ͖͍֦ு @implementation UIView (Additions) ! - (CGFloat)x { return self.frame.origin.x;
} ! - (void)setX:(CGFloat)x { CGRect frame = self.frame; frame.origin.x = x; self.frame = frame; } ! @end
App Library x setX: x setX: ͲͪΒͷx, setX:ͷ࣮͕࣮ߦ͞ΕΔͷ͔ෆఆ
Өڹൣғͷେ͖͍֦ு @implementation UIView (Additions) ! - (CGFloat)x { return self.frame.origin.x;
} ! - (void)setX:(CGFloat)x { CGRect frame = self.frame; frame.origin.x = x; self.frame = frame; } ! @end
ϥΠϒϥϦ֎ͷมߋΛͳΔ͘ආ͚Δ [UIView appearance].backgroundColor = [UIColor blueColor]; ! [UIApplication sharedApplication].statusBarHidden =
YES;
Ͳ͜ͰίʔυΛެ։͢Δ͔ʁ
None
ձࣾݻ༗ͷίʔυ߹
Πϯετʔϧߋ৽Λ ؆୯ʹ͢Δʹʁ
http://cocoapods.org
Demo
ϥΠϒϥϦΛॻ͍ͨΒ CocoaPodsʹରԠͤ͞Α͏
ϥΠϒϥϦΛॻ͍ͨΒ podspecΛॻ͜͏
Pod::Spec.new do |s| s.name = "ISDiskCache" s.version = "0.1.1" s.platform
= :ios, "4.3" s.summary = "LRU disk cache for iOS." s.homepage = "https://github.com/ishkawa/ISDiskCache" s.source_files = "ISDiskCache/**/*.{h,m}" s.requires_arc = true s.author = { "Yosuke Ishikawa" => "
[email protected]
" } s.source = { :git => "https://github.com/ishkawa/ISDiskCache.git", :tag => "0.1.1" } s.license = { :type => "MIT", :text => <<-LICENSE ... LICENSE } end podspec
podspecͷஔ͖ʁ
• ϥΠϒϥϦͷϦϙδτϦ • CocoaPodsͷϦϙδτϦ • In HouseͷϦϙδτϦ
• ϥΠϒϥϦͷϦϙδτϦ • CocoaPodsͷϦϙδτϦ • In HouseͷϦϙδτϦ
None
None
pod 'ISDiskCache', :git => ‘https://github.com/ishkawa/ISDiskCache.git', :tag => '0.1.1' Podfile
• ϥΠϒϥϦͷϦϙδτϦ • CocoaPodsͷϦϙδτϦ • In HouseͷϦϙδτϦ
CocoaPods/Specs ͜͜ʹొ͞Ε͍ͯΕ ࣗಈతʹօͷखݩʹೖΔ podspec Pull Request https://github.com/CocoaPods/Specs
https://github.com/CocoaPods/Specs/pull/2780
pod 'ISDiskCache', '~> 0.1.1' Podfile
• ϥΠϒϥϦͷϦϙδτϦ • CocoaPodsͷϦϙδτϦ • In HouseͷϦϙδτϦ
CocoaPods/Specs ಠࣗͷpodspecஔ͖ΛՃͰ͖Δ LINE-Corp/Specs
None
pod repo add in-house https://github.com/ishkawa/CocoaPodsSpecs.git Command
pod 'ISDiskCache', '~> 0.1.1' Podfile
None
LINEͰͷίʔυͷ࠶ར༻ͷ·ͱΊ
• ͔ͤͬ͘ॻ͍ͨίϯϙʔωϯτෳνʔϜͰ࠶ར༻ • ΞϓϦݻ༗Ͱͳ͚ΕϥΠϒϥϦͱͯ͠Γग़ͯ͠ެ։ • ϥΠϒϥϦͷίʔυߦّྑ͘ॻ͘ • CocoaPodsʹରԠͤͯ͞ར༻͘͢͢͠Δ
LINEͰGitHub Enterpriseͱ CocoaPodsΛར༻ͯ͠ ίʔυͷ࠶ར༻ΛਐΊ͍ͯ·͢
• Pull RequestͰίʔυϨϏϡʔ • Ϣχοτςετͷಋೖ ࠷ۙࣾʹ͜ΜͳྲྀΕ͋Γ·͢
None
iOSΤϯδχΞͷׂ = iOSΞϓϦͷ։ൃ
ϓϩάϥϜΛॻ͘ + ͦͷଞଟ
αʔϏεઃܭ UIઃܭ UIϓϩτλΠϐϯά ςετέʔεͷ࡞ શόʔδϣϯͰಈ࡞֬ೝ ϞϯΩʔςετ ར༻౷ܭͷઃܭ Dev Centerͷ࡞ۀ iTunes
Connectͷ࡞ۀ
ϓϩάϥϜΛॻ͘ + ͦͷଞଟ ͬͪ͜ʹूத͍ͨ͠
• اը/σβΠϯઌߦͷϑϩʔ • खް͍QA LINEͷಛ
• اը/σβΠϯઌߦͷϑϩʔ • खް͍QA LINEͷಛ
αʔϏεઃܭ UIσβΠϯ ࣮ QA ͜͜ͰࢀՃ͢Δ
• اը/σβΠϯઌߦͷϑϩʔ • खް͍QA LINEͷಛ
• QAઐ෦͕୲ • ෳਓ͕શόʔδϣϯͷOSͰςετ • ࠶ݱঢ়گΛৄࡉʹใࠂͯ͠Β͑Δ • ༧ͷ3ഒͷෆ۩߹Λൃݟͯ͠Β͑Δ ※ ݸਓͷײͰ͢
ϦϦʔεલޙͷετϨε͕͔ͳΓܰݮ͞ΕΔ
LINEʹiOSΤϯδχΞ͕ ։ൃʹूதͰ͖Δڥ͕͍ͬͯ·͢
LINEͰiOSΤϯδχΞΛืू͍ͯ͠·͢