Re: pb with nsmutablearray
Re: pb with nsmutablearray
- Subject: Re: pb with nsmutablearray
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 25 May 2007 12:20:12 -0600
On May 25, 2007, at 7:06 AM, julien ricard wrote:
NSLog([track location]);
NSLog([[trackList objectAtIndex:0] location]);
Do this instead:
NSLog(@"%@", [track location]);
It's very important that, if you have a function or method that takes
formatted arguments, that you pass in a formatted string. Otherwise,
the first % that appears in the string could in the worst case crash
the program...
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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