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-05-2009, 03:58 PM   #3 (permalink)
soku
New Member
 
Join Date: Mar 2009
Posts: 44
Default

Quote:
Originally Posted by anonymous View Post
it should be %f not %d. this same thing happened to me and when I changed it to this it worked. its because cgpoint is made up of two cgfloats (x and y) and the string format thingy is %f for floats.
Great! Thanks, I expected it would be the %d which is why I didn't post the rest of my code. Thanks once again.
soku is offline   Reply With Quote
 

» Advertisements
» Online Users: 356
20 members and 336 guests
ADY, apatsufas, chemistry, Duncan C, Fit4him, fkmtc, headkaze, HemiMG, MarkC, marto1914, Meoz, padsoftware, Promo Dispenser, Raffaello, sojourner, syver, tathaastu, tgjorgoski, Thrillhouse1919, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,220
Posts: 380,716
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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