FROM : Vince DeMarco
DATE : Mon Nov 18 19:01:10 2002
On Sunday, November 17, 2002, at 05:24 PM, Gregory Gerard wrote:
> Say I write a category extending NSString with -someTrivialMethod.
> Then, I load a plugin from a third party which does the exact same
> thing but who has different behavior (possibly radically).
>
> Is there a cheap way to detect this before or after the fact? What
> happens if I unload the plugin? Does the category defined in the
> plugin pop-off giving me back my original behavior?
>
The last one loaded wins.
The best (well an acceptable solution) is instead of calling the
category something common call it something weird
like
_ggerard_mac_com_someTrivialMethod
vince
DATE : Mon Nov 18 19:01:10 2002
On Sunday, November 17, 2002, at 05:24 PM, Gregory Gerard wrote:
> Say I write a category extending NSString with -someTrivialMethod.
> Then, I load a plugin from a third party which does the exact same
> thing but who has different behavior (possibly radically).
>
> Is there a cheap way to detect this before or after the fact? What
> happens if I unload the plugin? Does the category defined in the
> plugin pop-off giving me back my original behavior?
>
The last one loaded wins.
The best (well an acceptable solution) is instead of calling the
category something common call it something weird
like
_ggerard_mac_com_someTrivialMethod
vince
| Related mails | Author | Date |
|---|---|---|
| Gregory Gerard | Nov 17, 17:25 | |
| John C. Randolph | Nov 18, 16:33 | |
| Vince DeMarco | Nov 18, 19:01 | |
| Timothy Ritchey | Nov 18, 19:24 |






Cocoa mail archive

