How can i convert a NSData to NSArray? [duplicate] How can i convert a NSData to NSArray? [duplicate] xcode xcode

How can i convert a NSData to NSArray? [duplicate]


See this post... Convert NSArray to NSData

The last comment deals with the reverse....

NSArray *array = [NSKeyedUnarchiver unarchiveObjectWithData:data]


I am not sure but can you try

   NSArray *myNsArray = [NSKeyedUnarchiver unarchiveObjectWithData:myNsData];