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

iOS 10 時代のアニメーション / Introduction to UIViewPropertyAnimator

Jiro Nagashima
June 30, 2016
3k

iOS 10 時代のアニメーション / Introduction to UIViewPropertyAnimator

2016-06-30 "WWDC16. Meetup @Wantedly with 日本経済新聞社" での共有内容です。
http://wantedly.connpass.com/event/33967/

Jiro Nagashima

June 30, 2016
Tweet

More Decks by Jiro Nagashima

Transcript

  1. let timing = UICubicTimingParameters(animationCurve: .easeIn) let animator = UIViewPropertyAnimator(duration: 2.0,

    timingParameters: timing) animator.addAnimations { circle.center.x = 800.0 } animator.startAnimation() جຊతͳ࢖͍ํ
  2. let timing = UICubicTimingParameters(animationCurve: .easeIn) let animator = UIViewPropertyAnimator(duration: 2.0,

    timingParameters: timing) animator.addAnimations { circle.center.x = 800.0 } animator.startAnimation() ΠʔδϯάͷΧελϚΠζ
  3. let timing = UICubicTimingParameters(animationCurve: .easeIn) let animator = UIViewPropertyAnimator(duration: 2.0,

    timingParameters: timing) animator.addAnimations { circle.center.x = 800.0 } animator.startAnimation() ΠʔδϯάͷΧελϚΠζ