Re: NSString componentsJoinedByString--strange output
Re: NSString componentsJoinedByString--strange output
- Subject: Re: NSString componentsJoinedByString--strange output
- From: Joar Wingfors <email@hidden>
- Date: Sun, 22 Nov 2009 23:20:42 -0800
On 22 nov 2009, at 19.28, Kevin Walzer wrote:
> NSString *filestring = [files componentsJoinedByString:@"\t"];
> NSLog(@"%s", filestring);
You're not using the correct formatting character for objects. Change it to:
NSLog(@"%@", filestring);
j o a r
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden