> 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.
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to