• 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: Methods that return autoreleased objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Methods that return autoreleased objects?


  • Subject: Re: Methods that return autoreleased objects?
  • From: Charles Srstka <email@hidden>
  • Date: Sat, 28 Jun 2008 23:59:11 -0500

On Jun 28, 2008, at 7:43 PM, Markus Spoettl wrote:

Methods that begin with "alloc" or "new" or contain "copy" will return objects you are responsible for. All other objects returned from methods are taken care of.

Well, there is the notable exception of top-level objects loaded from a NIB file, which do need to be released.


Charles
_______________________________________________

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


  • Follow-Ups:
    • Re: Methods that return autoreleased objects?
      • From: mmalc crawford <email@hidden>
References: 
 >Methods that return autoreleased objects? (From: "john muchow" <email@hidden>)
 >Re: Methods that return autoreleased objects? (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Output of NSHTTPCookieStorage to NSTableView
  • Next by Date: XML-RPC Cocoa Parsing
  • Previous by thread: Re: Methods that return autoreleased objects?
  • Next by thread: Re: Methods that return autoreleased objects?
  • Index(es):
    • Date
    • Thread