Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-25-2009, 04:32 PM   #8 (permalink)
DiGk
New Member
 
Join Date: Apr 2009
Posts: 32
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 04:34 PM.
DiGk is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,288
Threads: 39,077
Posts: 171,356
Top Poster: smasher (2,575)
Welcome to our newest member, germainesluaus
Powered by vBadvanced CMPS v3.1.0

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