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
iOS9のUIKitDynamics
Search
Shinji Kobayashi
November 26, 2015
Programming
0
43
iOS9のUIKitDynamics
Shinji Kobayashi
November 26, 2015
Tweet
Share
More Decks by Shinji Kobayashi
See All by Shinji Kobayashi
5分でできる UITableViewのDrag & Drop
gentlesoft
0
460
自社コンテンツ配信 のためのWebView Tips
gentlesoft
2
5.5k
実践Protocol-Extension
gentlesoft
0
70
UIKitDynamicsの活用法
gentlesoft
0
600
SwiftでUIKitDynamics
gentlesoft
0
55
CoreDataによるデータ駆動型プログラミング
gentlesoft
0
190
Other Decks in Programming
See All in Programming
Catch Up: Go Style Guide Update
andpad
0
230
Go言語はstack overflowの夢を見るか?
logica0419
0
340
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
250
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
1
400
Swift Concurrency - 状態監視の罠
objectiveaudio
2
520
開発生産性を上げるための生成AI活用術
starfish719
3
1.1k
私達はmodernize packageに夢を見るか feat. go/analysis, go/ast / Go Conference 2025
kaorumuta
2
570
Devoxx BE - Local Development in the AI Era
kdubois
0
130
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
170
チームの境界をブチ抜いていけ
tokai235
0
180
CSC509 Lecture 04
javiergs
PRO
0
300
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
140
Featured
See All Featured
Navigating Team Friction
lara
190
15k
YesSQL, Process and Tooling at Scale
rocio
173
14k
How GitHub (no longer) Works
holman
315
140k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Unsuck your backbone
ammeep
671
58k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
33
2.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
Thoughts on Productivity
jonyablonski
70
4.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
iOS9ͷUIKitDynamics Shinji Kobayashi GentleSoft ୈ̑̌ճ ͘͘iOS ̎पLTձ@Rettyʲ࠷ऴճʳ
NameɿShinji Kobayashi Twitterɿ@gentlejkov GentleSoft Who are you? http://gentlesoft.net
2DͷཧԋࢉΛͬͨΞχϝʔγϣϯ͕ ؆୯ʹ࡞Ͱ͖ΔϥΠϒϥϦ վΊͯUIDynamicsͱ
• UIAttachmentBehaviorɹ-ɹόω • UICollisionBehaviorɹ-ɹিಥ • UIGravityBehaviorɹ-ɹॏྗ • UIDynamicItemBehaviorɹ-ɹମͷಛੑ • UIPushBehaviorɹ-ɹΤωϧΪʔ
• UISnapBehaviorɹ-ɹҠಈʁ ࠓ·ͰͷUIDynamics
• UIAttachmentBehaviorɹ-ɹόω • UICollisionBehaviorɹ-ɹিಥ • UIGravityBehaviorɹ-ɹॏྗ • UIDynamicItemBehaviorɹ-ɹମͷಛੑ • UIPushBehaviorɹ-ɹΤωϧΪʔ
• UISnapBehaviorɹ-ɹҠಈʁ ࠓ·ͰͷUIDynamics
• UIDynamicItemCollisionBoundsType • UIFieldBehavior • Linear Gravityɹ-ɹॏྗۭؒ • Radial Gravity
ɹ-ɹҾྗ/࣓ྗ/Ϋʔϩϯྗ • UIAttachmentBehavior 1. limitAttachmentWithItemɹ-ɹϩʔϓ 2. pinAttachmentWithItemɹ-ɹఆं 3. slidingAttachmentWithItemɹ-ɹಈं 4. fixedAttachmentWithItemɹ-ɹ iOS9ͰՃ͞Εͨػೳ
• UIDynamicItemCollisionBoundsType • UIFieldBehavior • Linear Gravityɹ-ɹॏྗۭؒ • Radial Gravity
ɹ-ɹҾྗʗΫʔϩϯྗ • UIAttachmentBehavior 1. limitAttachmentWithItemɹ-ɹϩʔϓ 2. pinAttachmentWithItemɹ-ɹఆं 3. slidingAttachmentWithItemɹ-ɹಈं 4. fixedAttachmentWithItemɹ- ʁɹ iOS9ͰՃ͞Εͨػೳ
• UIDynamicItemCollisionBoundsType • UIFieldBehavior • Linear Gravityɹ-ɹॏྗۭؒ • Radial Gravity
ɹ-ɹҾྗʗΫʔϩϯྗ • UIAttachmentBehavior 1. limitAttachmentWithItemɹ-ɹϩʔϓ 2. pinAttachmentWithItemɹ-ɹఆं 3. slidingAttachmentWithItemɹ-ɹಈं 4. fixedAttachmentWithItemɹ-ɹ iOS9ͰՃ͞Εͨػೳ iOS9ͰՃ͞Εͨػೳ
Demo
2DͷཧԋࢉΛͬͨΞχϝʔγϣϯ͕ ؆୯ʹ࡞Ͱ͖ΔϥΠϒϥϦ վΊͯUIDynamicsͱ
2DͷཧԋࢉΛͬͨΞχϝʔγϣϯ͕ ؆୯ʹ࡞Ͱ͖ΔϥΠϒϥϦ վΊͯUIDynamicsͱ 2DͷཧԋࢉΛ؆୯ʹ࣮Ͱ͖ΔϥΠϒϥϦ