Beginning Core Graphics On The iPhone

Core Graphics is a topic that I’ve touched on from time to time on this site.  Core Graphics is the key for making beautiful interfaces in Objective-C that perform well.

Ray Wenderlich has written an excellent tutorial for those getting started with Core Graphics.  In the tutorial you will find out how to create a beautiful customized tableview, more specifically you’ll learn how to draw and fill rectangles, create gradients, and draw lines.

What’s really great about this tutorial is that this is all done with Core Graphics, there are other ways you can simulate this such as using HTML/CSS in a UIWebView, but this method allows you to make use of the real UITableView class so there’s nothing that you need to change within your app.  You can simply add in the drawing code into your app and make everything look better.

You can find the tutorial here:
Core Graphics 101: Lines, Rectangles, and Gradients

Thanks for reading, please share this using the buttons below!

©2010 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

Share and Enjoy:

RSS
Twitter
Facebook
DZone
HackerNews
del.icio.us
FriendFeed