Dynamically check for method
Dynamically check for method
- Subject: Dynamically check for method
- From: Pierre Bernard <email@hidden>
- Date: Wed, 6 Dec 2006 19:16:00 +0100
Hi!
How can I check at runtime if a certain method exists? Specifically:
class_addIvar
Currently I use method / deallocator swizzling in categories so that
I can have them add iVars to existing classes. I would like to avoid
this whenever possible, but fall back to it when nothing else works.
TIA,
Pierre
Pierre Bernard
http://www.bernard-web.com/pierre
http://www.houdah.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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