Yeah, but I figured that's more of a minor detail. When you're getting started you just don't want it to crash; doesn't matter too much when the crash actually occurs.

On 24 Oct 2008, at 16:33, Dave Carrigan wrote:


On Oct 24, 2008, at 8:23 AM, Mike Abdullah wrote:

NSString w = [NSString stringWithFormat:@"something %i", x];
// Do stuff
[w release];    // Will crash here


To be pedantic, it won't crash right there. It will crash sometime later in a place completely unrelated to the location that you released it.

--
Dave Carrigan
[EMAIL PROTECTED]
Seattle, WA, USA

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to