Re: Cococa-Dev : was [coredata count not fulfill fault after object delete]
Re: Cococa-Dev : was [coredata count not fulfill fault after object delete]
- Subject: Re: Cococa-Dev : was [coredata count not fulfill fault after object delete]
- From: Martin Hewitson <email@hidden>
- Date: Tue, 15 Jan 2013 17:41:19 +0100
On 14, Jan, 2013, at 03:31 PM, Jerry Krinock <email@hidden> wrote:
>> Will -autorelease work with ARC?
>
> I don't think so. I didn't realize you were using ARC. I suppose you could opt out of ARC in your Method Replacement file, in order to compile that -autorelease.
>
>> Could you hint how to do that? A category on NSTreeController?
>
>
> I can't find the article on Apple's site any more, but here it is from the horses's mouth, probably written better…
>
> http://mikeash.com/pyblog/friday-qa-2010-01-29-method-replacement-for-fun-and-profit.html
>
> Method Replacement is a good occasional last resort, particularly in troubleshooting, but you can ship it if necessary.
Thanks for the pointers. Though after some further work, the test app now has only a very few lines of custom code, and the 'bug' is still there. The use of [NSTreeController selectedObjects] is gone, so that was a red herring (though the retaining may still be going on behind the scenes).
So I've opened a ticket with Apple to get some support. I'll post back if they come up with a solution.
Many thanks,
Martin
_______________________________________________
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