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
2.6k
1
Share
AutoLayoutのデバッグを試みる
2016/10/14(金)
iOS Creators' Meetup vol.2資料
akatsuki174
October 14, 2016
More Decks by akatsuki174
See All by akatsuki174
逆向きUIの世界 〜iOSアプリのRTL言語対応〜
akatsuki174
1
600
逆向きUIの世界〜AndroidアプリのRTL言語対応〜
akatsuki174
1
1.1k
私が変えてきたこと、変えなかったこと
akatsuki174
2
1k
最近読んでいる本-読書シェア会vol.1
akatsuki174
2
270
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
140
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
6.2k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
520
オフライン勉強会ぼっち対策
akatsuki174
1
720
Xcode 15の新機能
akatsuki174
0
2.9k
Other Decks in Programming
See All in Programming
From Formal Specification to Property Based Test
ohbarye
0
2.4k
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
770
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
140
t *testing.T は どこからやってくるの?
otakakot
1
930
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.2k
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
130
Firefoxにコントリビューションして得られた学び
ken7253
2
160
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
200
Agentic Elixir
whatyouhide
0
450
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
410
20年以上続くプロダクトでも使い続けられる静的解析ツールを求めて
matsuo_atsushi
0
150
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
360
It's Worth the Effort
3n
188
29k
Side Projects
sachag
455
43k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
290
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Chasing Engaging Ingredients in Design
codingconduct
0
190
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
230
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
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Ϩεϙ ϯγϒσβΠϯΛϚελʔ. Տᬒ༤հ. גࣜձࣾϦοΫςϨίϜ.
͓͠·͍