FROM : Timothy Ritchey
DATE : Mon Nov 18 19:24:00 2002
>> 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?
Perhaps you could store an array of IMPs that point to your category
methods. After a bundle is loaded, you could call -methodForSelector:,
and compare with your stored pointers to see if any have changed.
- tim
DATE : Mon Nov 18 19:24:00 2002
>> 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?
Perhaps you could store an array of IMPs that point to your category
methods. After a bundle is loaded, you could call -methodForSelector:,
and compare with your stored pointers to see if any have changed.
- tim
| 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

