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
140
Mysteries of Auto Layout
UIStackViewの話
nakajijapan
July 01, 2015
Tweet
Share
More Decks by nakajijapan
See All by nakajijapan
サービスにおけるDesign Systemの構築
nakajijapan
11
3.9k
Markdownをリアルタイムに解析する
nakajijapan
5
4.5k
Firebase Authorization
nakajijapan
0
300
Intoducing Izumo
nakajijapan
1
2k
Practical CloudKit
nakajijapan
1
1.8k
Introducing to Ajimi - プロダクトを味見していこう
nakajijapan
0
2.3k
Shari
nakajijapan
1
2.8k
Japan Apple Pay Development
nakajijapan
0
300
業務で絶対必要にならない技術
nakajijapan
0
860
Other Decks in Technology
See All in Technology
Authlete で実装する MCP OAuth 認可サーバー #CIMD の実装を添えて
watahani
0
380
AI: The stuff that nobody shows you
jnunemaker
PRO
1
130
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
59k
コールドスタンバイ構成でCDは可能か
hiramax
0
130
BidiAgent と Nova 2 Sonic から考える音声 AI について
yama3133
2
140
AWS re:Invent2025最新動向まとめ(NRIグループre:Cap 2025)
gamogamo
0
150
re:Invent2025 セッションレポ ~Spec-driven development with Kiro~
nrinetcom
PRO
2
170
AI with TiDD
shiraji
1
330
プロンプトエンジニアリングを超えて:自由と統制のあいだでつくる Platform × Context Engineering
yuriemori
0
130
あの夜、私たちは「人間」に戻った。 ── 災害ユートピア、贈与、そしてアジャイルの再構築 / 20260108 Hiromitsu Akiba
shift_evolve
PRO
0
340
投資戦略を量産せよ 2 - マケデコセミナー(2025/12/26)
gamella
0
590
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
190
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
130
Documentation Writing (for coders)
carmenintech
77
5.2k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
32
Building AI with AI
inesmontani
PRO
1
610
Speed Design
sergeychernyshev
33
1.5k
Designing Experiences People Love
moore
143
24k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
720
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
220
Discover your Explorer Soul
emna__ayadi
2
1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
120
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
ѹ త ײ ँ