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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: NSTimer Help!
View Single Post
Old 01-17-2010, 11:57 PM   #15 (permalink)
ShayansMind
Registered Member
 
Join Date: Nov 2009
Location: Orange County, California
Posts: 36
ShayansMind is on a distinguished road
Send a message via AIM to ShayansMind Send a message via Skype™ to ShayansMind
Default it says

Quote:
Originally Posted by BrianSlick View Post
Code:
-(void)randomMainVoid {
mainInt + 0.01;
NSLog(@"mainInt is: %.02f", mainInt");
time.text = [NSString stringWithFormat:@"%.02f", mainInt];
}
Add that. What does it say when you run it?
mainInt = 0.0 when i run the code but the label doesn't change to like 0.01 etc
ShayansMind is offline   Reply With Quote
 

» Advertisements
» Online Users: 436
17 members and 419 guests
ArthurOff, AyClass, baja_yu, bignoggins, Bobarino, David-T, esoteric, evilmatt10, Free App Monster, HemiMG, HowEver, ilmman, jimmyon122, PowerGoofy, RickSDK, stevem54, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,432
Threads: 94,026
Posts: 402,588
Top Poster: BrianSlick (7,978)
Welcome to our newest member, ximagin
Powered by vBadvanced CMPS v3.1.0

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