Re: NSManagedObject, retain count and dealloc:
Re: NSManagedObject, retain count and dealloc:
- Subject: Re: NSManagedObject, retain count and dealloc:
- From: "Sean McBride" <email@hidden>
- Date: Mon, 26 Apr 2010 17:17:54 -0400
- Organization: Rogue Research Inc.
On Mon, 26 Apr 2010 23:14:04 +0200, vincent habchi said:
>I am unable to see a NSManagedObject go through the dealloc: method,
>even after its removal from the MOC. It seems these objects are created
>after a initWithEntity:insertIntoMOC: with an initial retain count of 2,
>and, of course, it is impossible to make the retain count (by honest
>means) drop below 2. Is this normal expected behavior?
Probably. Why do you ask? What do you want to do in dealloc? Do you
know about willTurnIntoFault?
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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