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
AutoLayoutのデバッグを試みる
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
akatsuki174
October 14, 2016
Programming
1
2.6k
AutoLayoutのデバッグを試みる
2016/10/14(金)
iOS Creators' Meetup vol.2資料
akatsuki174
October 14, 2016
Tweet
Share
More Decks by akatsuki174
See All by akatsuki174
逆向きUIの世界 〜iOSアプリのRTL言語対応〜
akatsuki174
1
510
逆向きUIの世界〜AndroidアプリのRTL言語対応〜
akatsuki174
1
790
私が変えてきたこと、変えなかったこと
akatsuki174
2
980
最近読んでいる本-読書シェア会vol.1
akatsuki174
2
250
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
130
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
6k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
490
オフライン勉強会ぼっち対策
akatsuki174
1
690
Xcode 15の新機能
akatsuki174
0
2.9k
Other Decks in Programming
See All in Programming
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
790
CSC307 Lecture 10
javiergs
PRO
1
660
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
並行開発のためのコードレビュー
miyukiw
0
1k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.5k
Patterns of Patterns
denyspoltorak
0
1.4k
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
Oxlintはいいぞ
yug1224
5
1.4k
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
210
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
330
Navigating Team Friction
lara
192
16k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
67
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
4 Signs Your Business is Dying
shpigford
187
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
130
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
Music & Morning Musume
bryan
47
7.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Transcript
AutoLayoutͷσόοάΛ ࢼΈΔ @akatsuki174
ࣗݾհ • ਢ౻ຘ • ΦΠγοΫεגࣜձࣾͷiOSΤϯδχΞ • ͜ͷษڧձͷओ࠵Ͱ͢ • Twitter, Qiita,
SlideShare, Github, SpeakerDeck →akatsuki174
Έͳ͞Μ͜Μͳ໘ ͋Γ·ͤΜ͔ʁ
AutoLayoutͰΤϥʔ
ࠓͷςʔϚ AutoLayoutͰࠔͬͨ࣌ͷ ରॲ๏Λʹ͚ͭΔ
ৄ͍͠ࢿྉ ʢ̎ʣ,ʢ̏ʣʢͦͷ͏ͪɺؾ͕͍ͨ࣌ʹʣॻ ͘༧ఆͰ͢ɻ ࠓճհ͢Δͷʢ̍ʣͷҰ෦Ͱ͢ɻ
ࠓճѻ͏μϝ੍ hoge…UILabelͷ੍ ɾLeadingSpace = 100 ɾWidth = 300 ɾTailingSpace =
100
ͪΐͬͱͣͭݟ͍͖ͯ·͠ΐ͏
“͜ͷத͔Β༧ظͤ͵੍Λ ݟ͚ͭͯͯ͠Ͷ”
UIView-Encapsulated-Layout-xxx ʹγεςϜ͕ࣗಈੜ੍ͨ͠ 1ͭΊͷ੍ͱ໌Β͔ʹίϯϑϦΫτ →ਫฏํͷ੍͕ոͦ͠͏
“੍શ෦कΕͳ͍͔Β ͜ͷ੍औΓআ͍ͱ͍ͨΑ”
“UIViewAlertForUnsatisfiableConstra intsͷγϯϘϦοΫϒϨʔΫϙΠϯτ Λ࡞ͬͯΈͯͶ”
γϯϘϦοΫϒϨʔΫϙΠϯτ ʹಛఆͷ݅ʹϚονͨ࣌͠ʹ ॲཧΛετοϓͯ͘͠ΕΔ
࡞ํ๏
࣮ߦ Viewͷ֊ߏΛΔ͜ͱ͕Ͱ͖Δ
͞Βʹ ͜ΜͳίϚϯυΛ࣮ߦ͠·͢
͢Δͱ
͓͞Β͍σϞ
͓͢͢Ίࢿྉ ɾAuto LayoutΨΠυ: σόοάʹཱͭ ώϯτ - Apple Developer https://developer.apple.com/jp/ documentation/UserExperience/
Conceptual/AutoLayoutGuide/ DebuggingTricksandTips/ DebuggingTricksandTips.html
͓͢͢Ίࢿྉ ɾΑ͘Θ͔ΔAutoLayout iOSϨεϙ ϯγϒσβΠϯΛϚελʔ. Տᬒ༤հ. גࣜձࣾϦοΫςϨίϜ.
͓͠·͍