Hi
I'm a beginner in learning how to develope iphone apps. I am going through a tutorial to do my first code and am running into errors which I don't understand. I have copied the code from the tutorial several times and still can't build the app. The code is:
I am getting expected with token error message on the 5th, 6th and 7th line
Please can someone help.
Thanks in advance
Rezia
I'm a beginner in learning how to develope iphone apps. I am going through a tutorial to do my first code and am running into errors which I don't understand. I have copied the code from the tutorial several times and still can't build the app. The code is:
Code:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UILabel *myMessage;
myMessage=[[UILabel alloc]
initwithframe: CGRectMake((25,225,300,50)]
myMessage.text@"Hello Xcode";
myMessage.font[UIFont systemfontofsize:48];
[window addSubview:myMessage];
[myMessage release];
[self.window makeKeyAndVisible];
return YES;
Please can someone help.
Thanks in advance
Rezia
Last edited by a moderator: