• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString init
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: NSString init
  • Next by Date: Re: Screenshot code for Tiger
  • Previous by thread: NSString init
  • Next by thread: Killing a stuck NSThread
  • Index(es):
    • Date
    • Thread