Upgrade to Pro — share decks privately, control downloads, hide ads and more …

UIKit Dynamics

toco
December 11, 2013

UIKit Dynamics

A brief introduction to UIKit Dynamics.
Explains the base architecture and demonstrates the use of all framework provided behaviors.

Talk given at Alt Tech Talks Berlin (http://alt-tech-talks.com) – December 11th, 2013

The demo code is available on GitHub:
https://github.com/toco/Dynamic-ImageView
https://github.com/toco/Collisiontest

toco

December 11, 2013
Tweet

More Decks by toco

Other Decks in Programming

Transcript

  1. UIDynamicBehavior • Add own behavior by using action-Block • Compose

    behaviors [behavior addChildBehavior:otherBehavior] • Subclassing makes the use compositions easier !13
  2. UIDynamicItem • Protocol • bounds (readonly) • center • transform

    • Implemented by: • UIView • UICollectionViewLayoutAttributes !15
  3. More Information • WWDC 2013 Session 206:
 Getting Started with

    UIKit Dynamics • WWDC 2013 Session 221:
 Advanced Techniques with UIKit Dynamics • https://developer.apple.com/library/ios/samplecode/DynamicsCatalog/ • http://www.teehanlax.com/blog/introduction-to-uikit-dynamics/ • https://github.com/toco/Collisiontest • https://github.com/toco/Dynamic-ImageView • https://github.com/toursprung/TSMessages !20