How to initialize NSData Object with NSMutableArray?

Check out NSPropertyListSerialization. That should let you convert the array to an NSData containing a property list. Note though that everything in the array has to support this (NSString, NSNumber, NSArray, NSDictionary, etc... are all valid property list types).

Thanks! Your suggestion for using NSArray's writeToFile:atomically: method worked for me. – Meghan Feb 15 at 7:37.

In my iphone app, I have an NSMutableArray which I want to store into NSData. I am not finding a way with which I can do so. What should be done?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions