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

Advanced Animations with UIKit

Advanced Animations with UIKit

Report from WWDC2017

Kane Liu

June 19, 2017
Tweet

More Decks by Kane Liu

Other Decks in Technology

Transcript

  1. Advanced Animations with UIKit #CA.swift Report from WWDC2017 Ryu Ka,

    @Ameba, iOS/Android Engineer, Manager LBOFMJV
  2. Why do we need “animations” ? “Design is not just

    what it looks like and feels like. Design is how it works” - Steve Jobs
  3. UIView-based Animations ɾMassive source code ɾDifficult to customize animation options

    ɾCan not interact with use’s action or gesture ɾCan not interrupt animations ɾCan not reverse animations ɾComplicated to combine and coordinate multiple animations
  4. UIView-based Animations ɾMassive source code ɾDifficult to customize animation options

    ɾCan not interact with use’s action or gesture ɾCan not interrupt animations ɾCan not reverse animations ɾComplicated to combine and coordinate multiple animations
  5. UIViewPropertyAnimator What’s New in iOS 11 ɾvar scrubsLinearly: Bool ɾvar

    pauseOnCompletion: Bool ɾCorner radius animation ɾCorner radius mask with “maskedCorners”