• 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: Finlay Dobbie <email@hidden>
  • Date: Fri, 5 Oct 2001 23:06:27 +0100

On Friday, October 5, 2001, at 10:48 pm, Rosyna wrote:

Does an object set to autorelease have a retain count?

Yes, of course it does. The retain count is always there, when it is reduced to 0 (which may happen when an autoreleasepool does its thing), the object is deallocated.

If it does, how can i tell if the object is to be autoreleased?

You don't need to.

-- Finlay


  • Follow-Ups:
    • Re: retainCount
      • From: Rosyna <email@hidden>
References: 
 >retainCount (From: Rosyna <email@hidden>)

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