On Wed, May 16, 2012 at 12:39 PM, Charlie Dickman <[email protected]> wrote: > NSString *possibleString = [NSString stringWithFormat: @"%s", > possible];
... and this line is something you shouldn't do. There are a ton of correct methods to create an NSString from a C string: +stringWithCString:encoding: +stringWithUTF8String: -initWithBytes:length:encoding: -initWithBytesNoCopy:length:encoding:freeWhenDone: -initWithCString:encoding: -initWithData:encoding: -initWithUTF8String: _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
