• 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: A few questions about Memory Management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few questions about Memory Management


  • Subject: Re: A few questions about Memory Management
  • From: "John C. Warner" <email@hidden>
  • Date: Fri, 11 Feb 2005 21:20:07 -0500


On 11 Feb, 2005, at 9:16 PM, Bob Ippolito wrote:


Anyway, the convention is that all methods except for +alloc, +new and -copy should return an object with a "net retain count" of zero. Meaning, unless you call one of these three methods, you do not have to send the result a release message.

Don't forget -mutableCopy, where applicable.

-John

_______________________________________________
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: 
 >A few questions about Memory Management (From: "Adrian R. Foltyn" <email@hidden>)
 >Re: A few questions about Memory Management (From: Bob Ippolito <email@hidden>)

  • Prev by Date: Re: A few questions about Memory Management
  • Next by Date: Re: A few questions about Memory Management
  • Previous by thread: Re: A few questions about Memory Management
  • Next by thread: Re: A few questions about Memory Management
  • Index(es):
    • Date
    • Thread