Drawing in iOS with Core Animation and Core Graphics
Learn to use CALayers with confidence and add custom drawing to layers and views using Core Graphics. By Caroline Begbie.
Part 1: CALayers
Let's review what you'll be learning in this section. Have a preview of the controls you'll draw using both CALayers and Core Graphics.
Redesign your view with rounded corners, borders and shadows
Style your own custom button through this hands-on challenge
Learn how to construct paths and position CALayers
Create an adjustable thermometer control using CAShapeLayers
Learn how to control CAShapeLayer animation
Create a clock with an animated second hand in this hands-on challenge.
Design a login view with a subtle background gradient.
Let's review what you learned about using CALayers and what's coming up in the next section
Part 2: Core Graphics
Let's review what you'll be learning in this section, and find out about the three controls you'll design.
So how do you draw into a view? Find out how to draw a cupcake.
Complete your custom button in this hands-on challenge.
Find out what a context is and how to create a reusable image.
Learn how to move your canvas before painting into it by using transforms.
Put your transform knowledge to use by drawing numbers into your timer.
More powerful than CAGradientLayer - learn how to use Core Graphics gradients in a graph background.
Complete a graph from dynamic data by "drawing" on everything you've learned in this hands-on challenge.
Let's review what you learned throughout the course and discuss where to go next.