Hi Vincent > 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?
The docs state that the MOC retains a reference to the MO until it is saved, so with the reference you are holding, that should make 2. Joanna -- Joanna Carter Carter Consulting _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com