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, the creator of the Space Game Starter Kit and co-author of the Learning Cocos2D book, 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!

Learn how to quickly build apps using Phonegap and Dreamweaver from the start through a series of videos and example projects.  Over 7 hours of video so far explaining what you need to know including maps, the camera api, and more.
Read more...
DeliciousTwitterFacebookLinkedInEmail

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can send a Tweet to @maniacdev on Twitter or submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>