Before you dive to deep in developing for the iPhone, iPod Touch, or the iPad, you do need to take a few minutes to consider the environment for which you are developing. I have put a short tutorial together so that you can see all of these things in one place.
[tubepress video=”FsuI7pAhLXE”]
- Based on Objective-C
- More info at http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/ObjectiveC
- Only one application running at a time (multi-tasking implemented in OS 4)
- Only one window
- Size is fixed to the size of the iPhone screen.
- Limited Access -Your application will run in its own sandbox
-
Limited Response Time
- Apps need to be ‘snappy’ (less than 5 seconds)
- Limited Screen Size
- 480 x 320 pixels (iPhone, 3G, & 3GS)
- 960 x 640 (iPhone 4G)
- 1024 x 768 (iPad)
- Limited System Resources
- 128 mb RAM, 4GB storage (more like 64mb)
- Missing Cocoa Tools – No garbage collection
Building an app:
- Model holds your application’s data
- View holds the window, controls and other UI
- Controller Binds the model and view together and decides how to handle user input