Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Objective-c > Re: How to do d...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 964 of 1039
Post > Topic >>

Re: How to do dynamic function calls

by Mike Burrell <mburrel@[EMAIL PROTECTED] > Mar 13, 2008 at 01:22 PM

On 2008-03-10 16:27:19 -0400, SeligArkin <SeligArkin@[EMAIL PROTECTED]
> said:
> What I want to do is make a method/message/function/what-ever-you-call-
> it called 'CallHook'
> 
> Which will take two manditory arguments:
> NSString*:plugin and NSString*hook
> 
> Then everything after it is passed on to [plugin evthook]
> 
> How is this accheviable, I cant seem to find a way.
> 
> The niche is I want it to work for any function, any arguments. ... is
> no go because I want it to be asif you are calling that plugin.

Look into something like -performSelector:withObject:

Cheers,
Mike
 




 3 Posts in Topic:
How to do dynamic function calls
SeligArkin <SeligArkin  2008-03-10 13:27:19 
Re: How to do dynamic function calls
Mike Burrell <mburrel@  2008-03-13 13:22:41 
Re: How to do dynamic function calls
SeligArkin <SeligArkin  2008-03-14 09:11:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 19:56:37 CDT 2008.