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
Mysteries of Auto Layout
Search
nakajijapan
July 01, 2015
Technology
170
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mysteries of Auto Layout
UIStackViewの話
nakajijapan
July 01, 2015
More Decks by nakajijapan
See All by nakajijapan
今時のフルスタック主導の iOSアプリ開発
nakajijapan
0
400
サービスにおけるDesign Systemの構築
nakajijapan
11
4.2k
Markdownをリアルタイムに解析する
nakajijapan
5
4.8k
Firebase Authorization
nakajijapan
0
360
Intoducing Izumo
nakajijapan
1
2.1k
Practical CloudKit
nakajijapan
1
1.9k
Introducing to Ajimi - プロダクトを味見していこう
nakajijapan
0
2.5k
Shari
nakajijapan
1
3.1k
Japan Apple Pay Development
nakajijapan
0
360
Other Decks in Technology
See All in Technology
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
180
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
1
7.3k
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3k
The future of architectural work
ufried
0
150
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
120
Content Mapper APIの応用例~CSS Modules、言語ファイル~
uhyo
2
570
Oracle Database Security 詳細解説
oracle4engineer
PRO
1
250
公共システムAdventCalendar2026
toru_kubota
0
150
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
220
You Have Agency(サンキュー、Ruby)
snoozer05
PRO
5
680
AWS構成から考えるWebセキュリティ ― WordPressの構築経験から考える公開範囲と更新運用【JAWS FESTA 2026 in AKITA】
cscengineer
PRO
0
110
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
2
960
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
430
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
970
Game over? The fight for quality and originality in the time of robots
wayneb77
1
320
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
550
What's in a price? How to price your products and services
michaelherold
247
13k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
390
Producing Creativity
orderedlist
PRO
348
41k
Google's AI Overviews - The New Search
badams
0
1.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
Between Models and Reality
mayunak
4
550
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
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
ѹ త ײ ँ