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 > add more args t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 916 of 1006
Post > Topic >>

add more args to performSelector:withObjct...

by YL <elim.qiu@[EMAIL PROTECTED] > Oct 10, 2007 at 11:59 AM

The ObjC env that I'm using has an NSObjct method
- performSelector:withObject:withObject
Since i have many methods that take 4 args and i need to invoke them
from dynamic config txt, i need to implement a similar method
- performSelector:withObject:withObject:withObject:withObject
for my convienence. I made that work by using NSInvocation etc for
those methods that returns pointers of objs by put return type of
performSelector:...as id.
But I don't know how to specify the return type for
performSelector:...  to handle methods that return c types as well.

Is that possible? Thanks a lot
 




 2 Posts in Topic:
add more args to performSelector:withObjct...
YL <elim.qiu@[EMAIL PR  2007-10-10 11:59:29 
Re: add more args to performSelector:withObjct...
Michael Ash <mike@[EMA  2007-10-10 09:48:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sun Jul 20 0:15:07 CDT 2008.