Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Mysteries of Auto Layout
Search
nakajijapan
July 01, 2015
Technology
1
130
Mysteries of Auto Layout
UIStackViewの話
nakajijapan
July 01, 2015
Tweet
Share
More Decks by nakajijapan
See All by nakajijapan
サービスにおけるDesign Systemの構築
nakajijapan
6
3.4k
Markdownをリアルタイムに解析する
nakajijapan
4
4.2k
Firebase Authorization
nakajijapan
0
210
Intoducing Izumo
nakajijapan
1
1.8k
Practical CloudKit
nakajijapan
1
1.7k
Introducing to Ajimi - プロダクトを味見していこう
nakajijapan
0
2k
Shari
nakajijapan
1
2.6k
Japan Apple Pay Development
nakajijapan
0
240
業務で絶対必要にならない技術
nakajijapan
0
760
Other Decks in Technology
See All in Technology
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
100
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
160
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.7k
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
プロダクト活用度で見えた真実 ホリゾンタルSaaSでの顧客解像度の高め方
tadaken3
0
180
Lexical Analysis
shigashiyama
1
150
OS 標準のデザインシステムを超えて - より柔軟な Flutter テーマ管理 | FlutterKaigi 2024
ronnnnn
0
220
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
130
The Role of Developer Relations in AI Product Success.
giftojabu1
0
140
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1.3k
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Site-Speed That Sticks
csswizardry
0
28
A designer walks into a library…
pauljervisheath
204
24k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
It's Worth the Effort
3n
183
27k
How to Ace a Technical Interview
jacobian
276
23k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
The Pragmatic Product Professional
lauravandoore
31
6.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Building an army of robots
kneath
302
43k
Transcript
Google I/O & WWDC ใڞ༗ձ @nakajijapan Mysteries of Auto Layout
!OBLBKJKBQBO 4PGUXBSF&OHJOFFS (.01&1"#0JOD J048FC.BD w 88%$͍ͬͯLN w ࠷ۙझຯͰ.BD049ΞϓϦͬͯ·͢ w "7'PVOEBUJPOपΓΛझຯͰௐͯ·͢
NKJMultiMovieCaptureView https://github.com/nakajijapan/NKJMultiMovieCaptureView NKJMovieComposer https://github.com/nakajijapan/NKJMovieComposer NKJPagerViewController https://github.com/nakajijapan/NKJPagerViewController etc
J04"OESPJE ϋϯυϝΠυɺख࡞Γ࡞ͷ௨ൢɾൢചαΠτ NJOOF
લஔ͖
@misyobun
WWDC2015Ͱ Objective-C͔ΒSwift ͷҠߦʹ͍ͭͯApple ͷਓʹ㘤͍ͨ @misyobun
AndroidΤϯδχΞ͕ Apple৴ऀʹม͢Δ Λָ͓͠Έ͍ͩ͘͞ @misyobun
ຊ
UIStackView
Mysteries of Auto Layout, Part 1 Session 218
The UIStackView class provides a streamlined interface for laying out
a collection of views in either a column or a row. UIStackView
%JTUSJCVUJPO "MJHONFOU 4QBDJOH 6*4UBDL7JFX$MBTT3FGFSFODF
Layout Variables • axis • distribution • alignment • spacing
Try!
Try 1
No UIStackView
UIStackView
Try 2
No UIStackView
No UIStackView
UIStackView
UIStackView
UIStackView
εοΩϦ!! UIStackView
Good • ࣮͕؆୯ • ϨΠΞτͷཧָ͕ • ੍ͷݟ௨͕͠ྑ͘ͳΔ • ։ൃऀ͚ͩͰͳ͘σβΠφʹΑΓϑϨϯυϦʔ
Not Good • iOS9͚ͩαϙʔτ • ࣮ʹઌ… • ෳࡶͳϨΠΞτʹαϙʔτ͠ͳ͍ • ͦͷ߹ࠓ·Ͱ௨Γʹ࣮
·ͱΊ ࣗͷϓϩμΫτͰਓபʹͳͬͯΈΑ͏ʂ ʢ৴ڼ৺ͷߴ·ΓΛײ͡ͳ͕Βʣ
https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/ UIStackView_Class_Reference 6*4UBDL7JFX 6*,JU'SBNFXPSL3FGFSFODF
ѹ త ײ ँ