• 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
NSString init
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString init


  • Subject: NSString init
  • From: Milen Dzhumerov <email@hidden>
  • Date: Wed, 26 Apr 2006 19:09:41 +0100

Hi all,

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.

Kind regards,
Milen Dzhumerov

Web: http://1nsp1r3d.co.uk/
Email: email@hidden



_______________________________________________
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


  • Follow-Ups:
    • Re: NSString init
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Flipping over coordinate conversion
  • Next by Date: Re: NSString init
  • Previous by thread: Re: how do I put ints in for NSUserDefaults for keys?
  • Next by thread: Re: NSString init
  • Index(es):
    • Date
    • Thread