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
akatsuki174
October 14, 2016
Programming
1
2.5k
AutoLayoutのデバッグを試みる
2016/10/14(金)
iOS Creators' Meetup vol.2資料
akatsuki174
October 14, 2016
Tweet
Share
More Decks by akatsuki174
See All by akatsuki174
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
33
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.4k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
390
オフライン勉強会ぼっち対策
akatsuki174
1
570
Xcode 15の新機能
akatsuki174
0
2.5k
AndroidにもSelect Photosがやってきた
akatsuki174
0
1.2k
Famm Android改善記
akatsuki174
0
340
Flutterアプリ開発にネイティブコードはどこまで求められるのか
akatsuki174
2
4.4k
UIKitのアップデート #WWDC22
akatsuki174
4
1.2k
Other Decks in Programming
See All in Programming
Identifying User Idenity
moro
6
9.7k
CSC509 Lecture 12
javiergs
PRO
0
140
役立つログに取り組もう
irof
28
9.4k
Jakarta EE meets AI
ivargrimstad
0
280
Dev ContainersとGitHub Codespacesの素敵な関係
ymd65536
1
140
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
560
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
810
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
460
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
100
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
2.5k
CSC509 Lecture 11
javiergs
PRO
0
180
ヤプリ新卒SREの オンボーディング
masaki12
0
120
Featured
See All Featured
KATA
mclloyd
29
14k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
The Invisible Side of Design
smashingmag
297
50k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Practical Orchestrator
shlominoach
186
10k
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Ϩεϙ ϯγϒσβΠϯΛϚελʔ. Տᬒ༤հ. גࣜձࣾϦοΫςϨίϜ.
͓͠·͍