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
200
Intoducing Izumo
nakajijapan
1
1.8k
Practical CloudKit
nakajijapan
1
1.6k
Introducing to Ajimi - プロダクトを味見していこう
nakajijapan
0
2k
Shari
nakajijapan
1
2.6k
Japan Apple Pay Development
nakajijapan
0
240
業務で絶対必要にならない技術
nakajijapan
0
750
Other Decks in Technology
See All in Technology
全社を巻き込んだ業務オペレーション改善と、それは事業成長に貢献しているのか?を実感した話
marroooon
0
130
VPoE Meetup Vol.1 VPoEとして実践してきたことと反省点
coconala_engineer
2
120
Unlearn Modularity
lemiorhan
6
300
データ分析基盤のためにS3を深堀りする~アーキテクチャ設計の考え方のヒントに~
nrinetcom
PRO
1
760
Amazon ECS & AWS Fargate 今昔物語 / past and present stories of Amazon ECS and AWS Fargate
iselegant
18
3.8k
新入社員 オンボーディング改善プロジェクト - シンプルな仕組みで変革のきっかけを
enpipi
0
440
俺とVSCode Python Debugger Extension
sat
PRO
1
140
Transforming Event Attendees into Lifelong Donors: Insights from Claire Axelrad
auctria
PRO
1
110
外部カンファレンスで登壇しよう! 〜「強い」エンジニアへの一歩を踏み出す〜
logica0419
4
130
From naive to advanced RAG: the complete guide
glaforge
0
650
入社半年(合計1年)でGoogle Cloud 認定を全冠した秘訣🤫
risatube
1
270
Amazon CloudWatchで小さく始めるWebサービスのオブザーバビリティ / How to start Observability for Web Sevices with Amazon CloudWatch
sms_tech
3
190
Featured
See All Featured
Happy Clients
brianwarren
97
6.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.6k
Six Lessons from altMBA
skipperchong
26
3.4k
The Pragmatic Product Professional
lauravandoore
31
6.2k
BBQ
matthewcrist
85
9.2k
Agile that works and the tools we love
rasmusluckow
327
21k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
How to Ace a Technical Interview
jacobian
275
23k
Become a Pro
speakerdeck
PRO
24
4.9k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
250
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
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
ѹ త ײ ँ