TechnoBuzz

A Techno Blog, mainly about Java

ioS beginnings part 2

 

Delegate file (h) example:

#import <UIKit/UIKit.h>

@class ViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) ViewController *viewController;

@end

Controller File (h) example:

@interface ViewController : UIViewController

 

Change the view controller example in your delegate:

@property (strong, nonatomic) UINavigationController*viewController;

Other choices:

UITableViewController

UIViewController

December 26, 2012 Posted by | Uncategorized | Leave a comment