objc_addMethods
objc_addMethods
- Subject: objc_addMethods
- From: Tim Conkling <email@hidden>
- Date: Thu, 11 Nov 2004 17:32:35 -0500
Does anybody have any sample code showing the proper use of
objc_addMethods to dynamically add methods to a class at runtime?
This is sort of me just being lazy, as I have the documentation in
front of me, but I can't figure out certain things like how to
correctly fill in an objc_method struct (what data goes into the
method_imp field, for example?).
Are there any hazards involved in adding methods to existing classes at
runtime (other than adding a method to a class that already has that
method defined?)
Much appreciated,
Tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden