iOS Applications Michelle Alexander COMS E6998 2/4/2013
New Application
Project Type
Name Project Choose location to save on computer (Not Shown)
Project Settings
AppDelegate Launch point of your application Handles entering/leaving background
Supporting Files For the most part you do not need to modify these files Exceptions: – Integrating OpenCV – Modifying plist
Run Blank Application
Creating a ViewController File > New > File Objective-C class Subclass of UIViewController Choose file save location “Create”
Modify AppDelegate Add the new ViewController to the AppDelegate. AppDelegate.mAppDelegate.h
ViewController - UI Elements MyViewController.mMyViewController.h
UIButton From initWithNib: Call back function MyViewController.m
UIImage File> Add Files to “MyExampleProject” – Locate the image MyViewController.m initWithNib: