Tuesday, 11 September 2012

Help with simple code


hi

i'm beginner in learning how develope iphone apps. going through tutorial first code , running errors don't understand. have copied code tutorial several times , still can't build app. 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; 
i getting expected token error message on 5th, 6th , 7th line

please can help.

in advance

rezia
 

1) tutorial
2) understand code does, line line. copy , pasting without thinking , understanding teach absolutely nothing
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment