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
UIKit Dynamics
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Rob Brown
December 11, 2013
Technology
89
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
UIKit Dynamics
A basic overview of UIKit dynamics. Demo here:
https://github.com/rob-brown/Demos
Rob Brown
December 11, 2013
More Decks by Rob Brown
See All by Rob Brown
High-level Concurrency
robbrown
1
79
Data Source Combinators
robbrown
2
87
Elixir
robbrown
1
240
MVVM
robbrown
3
270
Reactive Cocoa
robbrown
2
170
iOS State Preservation and Restoration
robbrown
5
770
Anti-Patterns
robbrown
3
140
Core Animation: Beyond the Basics
robbrown
1
120
Pragmatic Blocks
robbrown
3
130
Other Decks in Technology
See All in Technology
取引先から届く 「セキュリティチェックシート」の読み解き方
kamadamakoto
0
140
今こそ聞きたいソフトウェア設計 ドメイン駆動設計再入門
masuda220
PRO
17
7.1k
個人OSSが、机の上から世界に広がるまでの話
shinyasaita
1
390
Service Connect 上のサービスに ECS Service の外側から到達できなかった話
ota1022
1
220
PLATEAU で バーチャル花火大会
tatsuya1970
0
150
Pavlokで始める電撃駆動開発
sgrsn
0
190
モノリス Rails でも日中に rails db:migrate を走らせたい! / Daytime rails db:migrate on Monolithic Rails!
euglena1215
4
580
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.8k
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
猫付きpingコマンドを自作
uyuki234
0
220
【CEDEC2026】専門性の高いデフォルメチームが挑んだ人材育成戦略 〜Cygames Academiaの企画から実施まで〜
cygames
PRO
0
570
LanceDB入門
mocobeta
7
380
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
610
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
360
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
460
Making Projects Easy
brettharned
120
6.7k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
A Tale of Four Properties
chriscoyier
163
24k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
750
Accessibility Awareness
sabderemane
1
170
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Transcript
UIKit Dynamics Robert Brown Twitter: @robby_brown ADN: @robert_brown
What is UIKit Dynamics? A composable, reusable, declarative, real-world inspired
animation and interaction system.
What is UIKit Dynamics? Based on real-world interactions Gravity Collisions
Attachments Snap Forces Weight
Limitations It is possible to create behaviors that can’t be
satisfied Not completely accurate physics Does not replace Core Animation, UIView animations, or motion effects Only supports 2D transforms
UIGravityBehavior Gravity is a simple vector Default is (0, 1)
meaning straight down Default constant is 1000 px/sec2
UICollisionBehavior Views can collide with boundaries and other views Views
can collide conditionally with other views Callbacks for when collisions begin and end (UICollisionBehaviorDelegate) Collisions have a CPU cost
UIAttachmentBehavior Acts like a rope, string, or spring Damping is
customizable Has a length and two anchor points Attachments are invisible
UISnapBehavior Locks position and angle Can use damping
UIPushBehavior Simple force vector 1 UIKit Newton accelerates a (100,100)
view by 100 px/sec2
UIDynamicItemBehavior friction resistance angularResistance elasticity density allowsRotation
Composing Behaviors Effect Combination Bounce Gravity + collision Drag and
snap Attachment then snap Lock screen Gravity + Collision + Attachment + Push Magnet Multiple push
Demo
Questions?
Want to Learn More? WWDC 2013 Session 206 WWDC 2013
Session 221 UIKit Dynamics Catalog Sample