Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-03-2009, 09:37 PM   #6 (permalink)
garyk
Registered Member
 
Join Date: Jan 2009
Posts: 12
Default

Quote:
Originally Posted by xiii3 View Post
- (IBAction)levelUpPressid)sender

{
level++;
levelText.text = [NSString stringWithFormat:@"%i", level];

}

ok typo... but what do i do with the level bit...? the label will follow the number of my level.... but where do i define it? at the minute the 'level' is an undeclared function and i have no idea where to put it... sorry this part of programming is new to me completely.
level is an NSInteger. I assumed you declared this in your header file.
garyk is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,837
Threads: 89,209
Posts: 380,644
Top Poster: BrianSlick (7,129)
Welcome to our newest member, mba_ed2
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:49 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.