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

Re: retainCount


  • Subject: Re: retainCount
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 5 Oct 2001 16:12:07 -0700

On Friday, October 5, 2001, at 03:09 PM, Rosyna wrote:

I need to know, sometimes an object will be created with and autoreleased, sometimes it will be alloc'd. This cannot change. Ever. I just need to know if its safe to autorelease it.

The rule is, *balance* your calls to retain and release, and what anything else is doing as far as retaining the object is not your problem.

-jcr

"I fear all we have done is to awaken a sleeping giant and fill him with a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.


References: 
 >Re: retainCount (From: Rosyna <email@hidden>)

  • Prev by Date: Re: retainCount
  • Next by Date: Re: Subclassing NSToolBar.
  • Previous by thread: Re: retainCount
  • Next by thread: Re: retainCount
  • Index(es):
    • Date
    • Thread