Hour 8. Drawing User-Interface Elements

Although Apple provides standard UI controls, some of the most beautiful applications create their own interface elements to really stand out. In this hour you’ll learn how to make interface elements. First, you’ll learn how to customize the standard elements using the UIImage and UIImageView classes. Then, to better understand UIViews, we’ll implement our own customized buttons, which we can animate for more polish. We’ll learn all about Core Graphics, the powerful drawing framework provided by the iPhone, and use it to create the animation.

Adding Images to UIButton

UIButton can have ...

Get Sams Teach Yourself Cocoa Touch™ Programming in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.