In this chapter, we are going to discuss custom drawing and animations. The iOS SDK contains two very useful frameworks for these tasks: Core Graphics and Core Animation.
These two frameworks simplify the process of animating UI elements and drawing 2D graphics on them. The effective usage of these two frameworks will make a difference between a dull and stunning app. After all, these two frameworks play a very important role in making the iOS platform unique in its kind.
We will learn how to provide simple or even more complicated animations for controls to provide a unique user experience. We will also see how to custom draw lines, curves, shapes, and text on the screen. Finally, with all the examples provided, we will create two drawing apps.