I changed the title of this thread after realizing that what Antonio is doing was called "Method Replacement" in Apple Sample Code
On 2012 Mar 12, at 09:57, Greg Parker wrote: > If you want to be absolutely sure your swizzling is performed early on during > application startup, use a +load method instead of a +initialize method. Indeed, that is where the Apple's Sample Code said to do it. However, when I tried to recheck that documentation [1] I now read this: "This document has been retired. Current information on this Developer Library topic can be found here:" And then it links to the Mac OS X Developer Library :( Does anyone know why this Sample Code has been retired? I still use Method Replacement in one place and have not seen any trouble, so far. Thanks, Jerry [1] https://developer.apple.com/library/mac/#samplecode/MethodReplacement/Introduction/Intro.html _______________________________________________ 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