Beginner iPhone Tutorial – Polygon
I decided to post the tutorial I am presenting during the first class at the iPhone course. This tutorial is meant to quickly introduce novices to the iPhone SDK development tools, showcase some fundamental design patterns and demonstrate how easy it is to get started developing for Apple’s iPhone and iPod Touch.
What does it teach?
- Tools: how to use XCode to create a new iPhone application, how to add a new class file and how to create your own view class. Using Interface Builder: drag and drop, inspector tabs, custom classes, connecting graphically objects, outlets and actions.
- Programming: practical examples of implementing the Model View Controller design pattern, outlets and actions, member variable naming conventions, forward class declaration, deriving classes, and overriding methods.
- Frameworks: UIKit concepts: creating a custom UIView by overriding drawRect, and the use of needsDisplay and needsLayout. Core Graphics concepts: context, path, current position, adding to path, stroke, fill.






