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

Re: stringWithFormat


  • Subject: Re: stringWithFormat
  • From: Roland King <email@hidden>
  • Date: Mon, 20 Oct 2008 16:59:32 +0800

Ron Green wrote:


stringWithFormat: returns an NSString that is autoreleased. I know this because I read it in Hillegasses book. But since this does not seem to be covered in the documentation, if I had not read it in a book, how would I discover that the NSString was autoreleased?
_______________________________________________



because it's covered in the documentation.

http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/MemoryManagementRules.html

and pages linked from there.

Which has reminded me that copy is in there and now I think I have a memory leak in something I've been writing. Thanks!

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >stringWithFormat (From: Ron Green <email@hidden>)

  • Prev by Date: Re: Pointing in the right direction for an XCode 3 pref pane.
  • Next by Date: Re: stringWithFormat
  • Previous by thread: stringWithFormat
  • Next by thread: Re: stringWithFormat
  • Index(es):
    • Date
    • Thread