Drawing Graphics On A View

To draw graphics on the view you have to create a subclass of the UIView object and override the drawRect method. Do this as follows: (more…)