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

View Single Post
Old 03-18-2010, 06:49 PM   #5 (permalink)
Batman
iPhone SDK learner
 
Join Date: Feb 2010
Location: Illinois, USA
Posts: 420
Batman is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
It works in the first case because "..." is a C string, so %s is correct. In the second case, it is now dealing with an NSString object, so it needs to be %@.

"..." = C string
@"..." = NSString
Okay, thanks for explaining that.
Batman is offline   Reply With Quote
 

» Advertisements
» Online Users: 586
21 members and 565 guests
7twenty7, cdbeshore, ChrisYates, CMSLdesign, Davor, dylanreich, fiftysixty, jakespencer, jeroenkeij, Kieren Harrold, nestochi, NetGuru, padsoftware, Rudy, SLIC, spiderguy84, taylor202, TheStalker, ukneeq, Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,544
Threads: 94,069
Posts: 402,682
Top Poster: BrianSlick (7,989)
Welcome to our newest member, CMSLdesign
Powered by vBadvanced CMPS v3.1.0

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