Re: Dynamic Method Creation
Re: Dynamic Method Creation
- Subject: Re: Dynamic Method Creation
- From: 👾 <email@hidden>
- Date: Fri, 14 Sep 2012 22:07:30 -0700
If you actually want to create them in your source, so that code completion works as expected and the compiler doesn't issue unrecognised selector warnings, then you'll need to do at least macros, if not a custom build phase using some kind of templating tool. They may exist; I don't know.
If you just want them to exist at runtime, your first port of call should probably be +[NSObject resolveInstanceMethod:].
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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