1) The document discusses using animations in iOS applications, specifically animating Bezier curves.
2) It provides information on what animations are, why they should be used, and when and how to implement them. This includes using animations for onboarding, loading, microinteractions, screen transitions, and visualizing action results.
3) It then demonstrates how to animate Bezier curves in iOS using the UIBezierPath class and methods like addQuadCurve and addCurve to define the curve paths and animate motion along them.
5. They help the user
to understand what’s going on.
Why should we use ‘em?
6. “We’re no longer just designing static screens.
We’re designing for how the user gets from those screens to actually
view content.”
Zurb Co.
Why should we use ‘em?
32. A Bezier curve
is a mathematically defined curve type
in bi-dimensional graphical applications,
which requires at least 3 points to define itself.
Bezier curve
38. // Moves the receiver’s current point to the specified location
open func move(to point: CGPoint)
// Appends a straight line to the receiver’s path.
open func addLine(to point: CGPoint)
// Appends an arc to the receiver’s path.
open func addCurve(to endPoint: CGPoint, controlPoint1: CGPoint, controlPoint2:
CGPoint)
// Appends a cubic Bézier curve to the receiver’s path.
open func addQuadCurve(to endPoint: CGPoint, controlPoint: CGPoint)
// Appends a quadratic Bézier curve to the receiver’s path.
open func addArc(withCenter center: CGPoint, radius: CGFloat, startAngle: CGFloat,
endAngle: CGFloat, clockwise: Bool)
// Closes the most recently added subpath.
open func close()
// Removes all points from the receiver, effectively deleting all subpaths.
open func removeAllPoints()
The UIBezierPath class