Re: [Pyobjc-dev] PyObjcC class method swizzling
Brought to you by:
ronaldoussoren
From: Lukas P. | D. V. <lu...@dr...> - 2009-09-20 23:46:22
|
That might be same, don't really know those terms. The important thing is that they do the same thing being, replacing the original implementation with a custom one and preserve the original one to call it in the custom one. Any idea Aahz on how to do that? @ James: Thanks, I'll try that immediately! Lukas Am 20.09.2009 um 19:14 schrieb Aahz: > On Sun, Sep 20, 2009, Lukas Pitschl | Dressy Vagabonds wrote: >> >> Instance method or class method swizzling is basically the idea of >> replacing an existing class/instance method implementation with your >> own implementation, however differently from using categories, since >> the original implementation should be preserved to later use it in >> your own implementation of the mehtod. > > How is this different from proxying or monkey-patching? > -- > Aahz (aa...@py...) <*> http://www.pythoncraft.com/ > > "I won't accept a model of the universe in which free will, omniscient > gods, and atheism are simultaneously true." --M > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |