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

Presentation I gave at the Dutch CocoaHeadsNL meetup of februari

Presentation I gave at the Dutch CocoaHeadsNL meetup of februari

Annimations in the Dutch ING banking app.

Jeroen Leenarts (AppForce1)

February 19, 2014
Tweet

More Decks by Jeroen Leenarts (AppForce1)

Other Decks in Programming

Transcript

  1. Why you need animations • To be consistent with the

    platform • Teaches your users • Movement attracts eyes, requests focus on screen items you want the user to focus on • People like to see where their stuff is going
  2. We’re in luck • iOS has Core Animation • Core

    Animation actually is a high performance compositing engine • It’s powerful, yet easy to use. Most animations you can just “drop in” between your normal program flow.
  3. Layers • Each View has a backing CALayer (layer property)

    • It’s similar to UIViews • addSubLayer • layoutSubLayers
  4. Implicit animations • Most CALayer properties can be animated •

    Changing property triggers implicit animation • Duration 0.25s, linear interpolation • Multiple changes during one Runloop cycle get batched into one transaction
  5. There’s (lots) more • Explicit Animations • View based animations

    • CATiming
 (don’t chain animations with completion blocks)