nsarray

Objective-C arrayWithPlist (that's already in an NSString)

I have an NSString that already contains a pList. How do I turn it into an NSArray? (WITHOUT saving it to disk, only to reload it back with arrayWithContentsOfFile, and then have to delete it.) Where is the make arrayWithPlist or arrayWithString method? (Or how would I make my own?) NSArray *anArray = [NSArray arrayWithPlist:myPlistS...

how to load array of content to dictionary type

i have a array with data,i want to load the dictiionary type element with array...... NSArray *thisArray = [[NSArray alloc] initWithContentsOfFile:path]; NSSdictionary *state; how to load the content with array.... any help appreciated... ...

Multiple Loop Variables in For Statement in Obj-C

Is there a way to have multiple loop variables in a for statement? Here would be a hypothetical representation of what I'm talking about: for (NSString *foo in bar; NSString *bob in example) {} If not what is a good way to accomplish this? Thanks, Kolin ...