Re: Method Replacement (was "swizzling") not airtight?
Re: Method Replacement (was "swizzling") not airtight?
- Subject: Re: Method Replacement (was "swizzling") not airtight?
- From: Jerry Krinock <email@hidden>
- Date: Mon, 12 Mar 2012 12:29:05 -0700
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 (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