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
お手軽iPad対応
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ninjinkun
May 30, 2013
Technology
350
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
お手軽iPad対応
ninjinkun
May 30, 2013
More Decks by ninjinkun
See All by ninjinkun
買収から2ヶ月でシステム統合した話
ninjinkun
0
180
Designer's and Engineer's Thinking Styles
ninjinkun
0
330
Launchable Webinar テストを効率化して生産性を上げる方法
ninjinkun
2
620
ディープリンクの 設計と実装 - iOSDC2017
ninjinkun
18
11k
スマートフォンアプリ開発における共創的な開発チーム
ninjinkun
61
19k
ReSwiftでアプリの状態管理 / Reactive Swift Meetup
ninjinkun
9
17k
フリルのアプリ開発今昔物語
ninjinkun
3
2.3k
プロトタイピング合宿によるデザインリニューアル
ninjinkun
1
3.2k
デザイナーが仕事をしやすいアプリエンジニアを考える
ninjinkun
4
760
Other Decks in Technology
See All in Technology
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
Kiro Crewをはじめよう
kizawa2020
1
160
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
120
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1k
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
210
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
Featured
See All Featured
Leo the Paperboy
mayatellez
10
2.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Typedesign – Prime Four
hannesfritz
42
3.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
First, design no harm
axbom
PRO
2
1.3k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Designing for humans not robots
tammielis
254
26k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Transcript
͓खܰiPadରԠ id:ninjinkun / @ninjinkun http://ninjinkun.hatenablog.com Thursday, May 30, 13
͓खܰiPadରԠ • ͓खܰʹ͢ΔͨΊͷલఏ • iOS͕༻ҙ͍ͯ͠ΔػೳΛ׆༻͢Δ • UIΈࠐΈΫϥεΛத৺ͱͯ͠࡞Δ Thursday, May 30,
13
ΞδΣϯμ • ΈࠐΈUIΫϥε • UIViewAutoresizing • UIView • Ϟʔμϧ •
ϦιʔεϑΝΠϧ • ϨΠΞτΫϥεͷ • ճసରԠ Thursday, May 30, 13
ΈࠐΈUIΫϥε • ࣗಈతʹ৳ॖ͞ΕΔ • UINavigationController • UITabBarController • ViewͷதखಈͰ৳ॖ Thursday,
May 30, 13
UIViewAutoresizing • Ϗϡʔʹର͢Δ্Լࠨӈἧ͑ɺॎԣ֦େΛఆٛ • ը໘͕͕ͬͯݩͷϨΠΞτΛҡ࣋͢ΔΑ͏ʹ • Autolayout͍͍͚ͨͲ… • iOS 6͔ΒͷΈରԠ
self.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; Thursday, May 30, 13
UIView • drawRect:ͰҰؾʹॻ͔ͳ͍ • ϏϡʔΛׂ͢Δ • UIImageView, UILabelʹཔΔ • UIViewࢠΫϥεͳΒ
layoutSubviewsͰαΠζΛઃ ఆͯ͠Δ Thursday, May 30, 13
Ϟʔμϧ • ModalΛશը໘Ͱग़͔͢αϒΟϯυͱͯ͠ग़͔͢ • ߘUIΈ͍ͨͳͷαϒΟϯυͰ viewController.modalPresentationStyle = UIModalPresentationFormSheet; Thursday, May
30, 13
ϦιʔεϑΝΠϧ • .nib, .storyboard, .png • ~ipadΛ͚ͭͯذ • ࣗಈతʹ~ipad͕ϩʔυ͞ΕΔ Thursday,
May 30, 13
ϨΠΞτΫϥεͷ • ෳࡶͳϨΠΞτʹPositionΫϥεΛఆٛ • ViewͷϨΠΞτใΛͨ͠Ϋϥε • CGRectΛͨ͘͞Μ࣋ͬͯΔ • ͜ͷΫϥεΛ෯Մมʹ͢ΕରԠྃ @interface
BookmarkEntryPosition : NSObject @property (nonatomic, assign) CGFloat cellHeight; @property (nonatomic, assign) CGRect titleRect; @property (nonatomic, readonly, assign) CGRect faviconRect; @property (nonatomic, assign) CGRect countRect; @property (nonatomic, assign) CGRect contentRect; @property (nonatomic, assign) CGRect imageRect; @property (nonatomic, assign) CGRect countLineRect; @property (nonatomic, strong) NSArray *favoriteRects; Thursday, May 30, 13
ճసରԠ • iPadΞϓϦճస͠ͳ͍ͱϦδΣΫτ • UIViewAutoresizingͳͲͪΌΜͱͬͯΕ͘͠ͳ͍ • ճస࣌ʹlayoutSubviews͕ݺΕΔ • iOS 5ͱ6ͷࠩʹҙ
• iOS 5ͳΒҎԼͰOK • ৄ͘͠ʮiOS 6 ͷAuto RotationʯΛࢀর -(BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientation { return UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad; } Thursday, May 30, 13
·ͱΊ • iOSͷػೳʹཔΔ͜ͱͰίετʹiPadରԠͰ͖·͢ • ࠷ॳ͔ΒUIViewAutoresizing༻ͷίʔυʹ͓ͯ͘͠ ͱྑ͍ • ϕετͰͳ͍͚ͲΒͳ͍ΑΓ·͠ Thursday, May
30, 13