[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSMutableArray variable using an NSString???
From: |
Thomas Davie |
Subject: |
Re: NSMutableArray variable using an NSString??? |
Date: |
Sun, 20 Feb 2011 17:02:35 +0000 |
On 20 Feb 2011, at 16:49, Jeric Batarina wrote:
> Is it possible to use NSString as the variable to create an NSMutableArray?
>
> My thoughts is that it'd go like this:
>
> NSMutableArray [NSString stringWithCString: <variableName>] =
> [NSMutableArray new];
I'm really not sure what the intended semantics of this is.
1) You appear to have an rvalue on the left of an expression.
2) You appear to be trying to statically allocate an NSMutableArray.
3) I have no idea how you'd expect to create an array from a string.
Bob