I am trying to save an array, which has some dictionaries inside, to a plist file but it fails. I don\'t get any errors. I do exactly the same few lines above in the code ju
If you read the documentation closely, writeToFile:atomically: expects the array to contain only objects which can be written into a plist file.
Only objects of type:
NSStringNSDataNSDateNSNumberNSArrayNSDictionary are permitted. If you have arrays or dictionaries within the array you're saving, their values will be examined by the same criteria.
This is somewhat more restrictive than what's usually allowed in NSArrays. In particular, the value [NSNull null] is not acceptable.