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 04-25-2009, 05:32 PM   #8 (permalink)
DiGk
Registered Member
 
Join Date: Apr 2009
Posts: 34
Default

Quote:
Originally Posted by dcwhat View Post
Originally Posted by dcwhat
I think u answered my questions, I have a varible set as "time" and to display, display a varible you have to NSLog(@"%x",Any varible Name); right?
Also if u do something like this would it work
Int testCounter = 0;
testCounter++; <- this would increase by 1 right?
NSLog(@"%x",Any varible Name); // Not sure about %x for any variable.

%@ for Object such as NSArray, NSString and so on
%i for integer
%d for float

int testCounter;
testCounter = 0;
testCounter++; <= NSLog(@"%i", testCounter); // that will give 1

Last edited by DiGk; 04-25-2009 at 05:34 PM.
DiGk is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,681
Threads: 89,158
Posts: 380,400
Top Poster: BrianSlick (7,110)
Welcome to our newest member, danielkui
Powered by vBadvanced CMPS v3.1.0

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