Eval() ?
Eval() ?
- Subject: Eval() ?
- From: Thierry Passeron <email@hidden>
- Date: Thu, 2 Mar 2006 20:28:10 +0100
Hello there,
Is there an Eval() like function in cocoa that would eval a string
and execute it as if it was a code.
like:
id object=NSEval(@"[SomeClass method1:aparameter :anOtherparameter]" );
would be the same as:
id object=[SomeClass method1:aparameter :anOtherparameter];
Is it possible in Objective-C's Cocoa API ?
Best regards,
Thierry
_______________________________________________
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