Re: What's so special about NSString literals? (RE: memory management)
Re: What's so special about NSString literals? (RE: memory management)
- Subject: Re: What's so special about NSString literals? (RE: memory management)
- From: Eric <email@hidden>
- Date: Wed, 17 May 2006 22:34:42 -0700
This....
NSString *foo = @"string";
... is completely different than this....
NSString *foo = [NSString stringWithString: @"string"];
Thanks, this is all I needed to know. I was just temporarly confused by the
use of the word "constant", not that I don't understand Cocoa's memory
management.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden