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
34
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
400
自社コンテンツ配信 のためのWebView Tips
gentlesoft
2
5.3k
実践Protocol-Extension
gentlesoft
0
56
UIKitDynamicsの活用法
gentlesoft
0
580
SwiftでUIKitDynamics
gentlesoft
0
35
CoreDataによるデータ駆動型プログラミング
gentlesoft
0
170
Other Decks in Programming
See All in Programming
チームでモデリングを育てるうえで 考えたこと・気づいたこと / Cultivating Modeling in Teams: Thoughts and Insights
mackey0225
5
2.2k
Introduction for Open Source Swift Workshop
giginet
PRO
0
180
PHP8の機能を使って堅牢にコードを書く
fendo181
6
2.6k
Crafting a Own PHP - ウキウキ手作りミニマリストPHP
uzulla
4
1.1k
Cloud RunとCloud PubSubでサーバレスなデータ基盤2024 with Terraform / Cloud Run and PubSub with Terraform
shinyorke
7
1.9k
Deep Dive 大規模システムアーキテクチャ/開発組織エンジニアリング / Deep Dive Large-Scale System Architecture, Development Organization Engineering
nrslib
15
2.9k
PHPerKaigi 2024〜10年以上動いているレガシーなバッチシステムを Kubernetes(Amazon EKS) に移行する取り組み〜
tshinowpub
1
220
自動テスト実行結果の目的を整理する / Organizing objectives of automated test results
twada
PRO
10
2.1k
Deno に Web 標準 API を実装する / Implementing Web Standard API to Deno
petamoriken
0
350
Creating Retro-Style Photos Using Swift
ski
1
340
フロントエンドパフォーマンス 入門
shouta2
7
1.5k
15分間でふんわり理解するDocker @ Matsuriba MAX
ukwhatn
PRO
1
340
Featured
See All Featured
A better future with KSS
kneath
230
16k
Building Effective Engineering Teams - LeadDev
addyosmani
25
1.8k
Testing 201, or: Great Expectations
jmmastey
27
6.3k
Being A Developer After 40
akosma
56
580k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
The Brand Is Dead. Long Live the Brand.
mthomps
48
21k
RailsConf 2023
tenderlove
0
510
Into the Great Unknown - MozCon
thekraken
10
830
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
19
1.9k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
242
20k
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ͷཧԋࢉΛ؆୯ʹ࣮Ͱ͖ΔϥΠϒϥϦ