Re: NSString init
Re: NSString init
- Subject: Re: NSString init
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 26 Apr 2006 12:12:29 -0600
On Apr 26, 2006, at 12:09 PM, Milen Dzhumerov wrote:
I just want to make sure that I'm right: -initWithCString: from
the NSString class is copying the cstring in a private char* so
you're free to free your copy. Although this is not mentioned in
the method's documentation I assume that it is right because of the
existence of init*NoCopy: methods.
That's correct, however, that method is deprecated.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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
References: | |
| >NSString init (From: Milen Dzhumerov <email@hidden>) |