Thursday, October 28, 2010

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

Programmer Question

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:myPlistString];


Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails