Re: Eval() ?
Re: Eval() ?
- Subject: Re: Eval() ?
- From: "Shawn Erickson" <email@hidden>
- Date: Fri, 3 Mar 2006 08:53:50 -0800
On 3/3/06, Thierry Passeron <email@hidden> wrote:
> Anyhow, for my problem, I have already figured out how to deal with it.
> I have a formatted NSString, an NSArray of parameters (with variable
> number of elements).
> And I want to output the result (NSString *) of the combination of
> format and parameters.
Maybe just add a category to NSString that generates what you want and
then iterate over the arrray or use -[NSArray
makeObjectsPerformSelector:], etc. Categories allow you to add "code"
to existing classes.
-Shawn
_______________________________________________
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