I am going to "Your First iPhone Application" tutorial on Apple's web site. Can someone explain me this line, PLEASE:
MyViewController *myViewController;
Why is this there? What does this line mean: MyViewController *myViewController; ???
Here is a full code:
http://developer.apple.com/iphone/l...hone101/Articles/03_AddingViewController.html
MyViewController *myViewController;
Why is this there? What does this line mean: MyViewController *myViewController; ???
Here is a full code:
Code:
#import <UIKit/UIKit.h>
@class MyViewController;
@interface HelloWorldAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
MyViewController *myViewController;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) MyViewController *myViewController;
@end
http://developer.apple.com/iphone/l...hone101/Articles/03_AddingViewController.html