Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
UIKit Dynamics
Search
Rob Brown
December 11, 2013
Technology
96
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
87
Data Source Combinators
robbrown
2
96
Elixir
robbrown
1
250
MVVM
robbrown
3
290
Reactive Cocoa
robbrown
2
180
iOS State Preservation and Restoration
robbrown
5
780
Anti-Patterns
robbrown
3
150
Core Animation: Beyond the Basics
robbrown
1
140
Pragmatic Blocks
robbrown
3
150
Other Decks in Technology
See All in Technology
SREでアラート疲れを 解決しよう!
kairim0
1
230
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
710
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
140
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
610
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
480
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
140
Kiro Crewをはじめよう
kizawa2020
1
150
How to Design Configuration for Rails Applications
willnet
0
170
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
310
AIは「聞けば答える」から「任せると自分で進める」へ - JACTIMペナン地域部会・ペナン三水会講演
knishioka
0
110
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
100
大型犬好きによるPugの紹介
yamanoku
1
150
Featured
See All Featured
Discover your Explorer Soul
emna__ayadi
2
1.3k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
The Art of Programming - Codeland 2020
erikaheidi
57
14k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Unsuck your backbone
ammeep
672
58k
エンジニアに許された特別な時間の終わり
watany
109
250k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Crafting Experiences
bethany
1
380
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
750
4 Signs Your Business is Dying
shpigford
187
23k
Being A Developer After 40
akosma
92
590k
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