Re: Releasing Objects
Re: Releasing Objects
- Subject: Re: Releasing Objects
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 23 Dec 2009 09:05:08 -0800
On Dec 22, 2009, at 11:49 PM, Franck Zoccolo wrote:
> You said that you're using garbage collection. When using GC retain and
> release messages do nothing, and the retain count is not used to
> determine when an objet can be freed from memory.
If -retainCount is returning 1, then he can't be using GC. Under GC, -retainCount -- being the utterly useless method that it is that no one should ever call -- returns self.
b.bum
_______________________________________________
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