0% found this document useful (0 votes)
4 views19 pages

Squares 2017 Custom Ios Animations

q

Uploaded by

mikegan888
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views19 pages

Squares 2017 Custom Ios Animations

q

Uploaded by

mikegan888
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Custom iOS Animations

Squares Conference
April 26, 2017
What Informal, Loose
High Level Info
To Animation Intro
Chaining, Libraries
Expect SWAG

What Formal Instruction


Core Graphics Drawing
Not To Controller Transitions

Expect
Particle Emitters
Kitten Gifs
Meet Me.
Husband (Lucky)
Dad (x3)
Aggie
Software Architect
Entrepreneur
Musician
Outdoors Guy
Meet Me.
Founder - Touchtap
http://touchtap.io

CTO, Co-Founder - Veryable


http://veryableops.com
Meet You.
Should you animate
everything?

Please No.
Should you animate
anything?

Please Yes. Tastefully.


https://capptivate.co/
What are the best
types of animations?
Subtle or Transparent
Not Distracting
Delightful to Experience
Serve a Purpose
Align with Your Audience
Ways to Animate iOS
UIView.animate
The block based animation methods allow you to specify
animations to be performed and the options for it.
duration, delay, spring, options (easing, repeat, reverse)
properties: frame, bounds, center, transform, alpha, color

UIView.transition
Creates a transition animation between views, or for the
specified view.
fromView, toView, duration, options
Ways to Animate iOS
Core Animation - CABasicAnimation
An object that provides basic, single-keyframe animation
capabilities for a layer property (Core Animation).
toValue, fromValue, keyPath, addAnimation

UIDynamicAnimator - iOS 7+
A dynamic animator provides physics-related capabilities
and animations for its dynamic items, and provides the
context for those animations.
gravity, collisions, dynamicBehavior
Ways to Animate iOS
UIViewAnimating - iOS 10
The UIViewAnimating protocol defines the methods for
implementing the basic flow control for animations,
including the ability to start, stop, pause and modify the
state of animations.
https://shop.dev.to/
Facts About Animations
Must be on the main thread

Not all properties are animate-able

Constraints can be animated


(and sometimes are required)
Lets Do It.
Useful Links
Apple’s Programming Guide For Animations
Core Animation Key Paths

Animation Library We Used


Cheetah

Other Animation Frameworks


Dance
C4
Pop ( By Facebook)
Canvas
Spring
Fluent
Got Feedback?

Noah Labhart
[email protected]

touchtap.io @touchtapapps facebook.com/touchtap

You might also like