Andrin
Andrin

Reputation: 435

Write a Dictionary of dictionaries to plist

I have been scratching my head for the better part of the evening on this and I need some help. I am trying to write nested Dictionaries to a plist for use elsewhere. When I use the "writeToFile:atomically" nothing happens. Is this even possible? It works fine for simple dictionaries so I know I have the file paths set up properly. Any help would be appreciated.

Upvotes: 0

Views: 386

Answers (1)

Benoît
Benoît

Reputation: 7427

It is possible, but your dictionaries must only contains types managed by plist:
- NSArray
- NSDictionary
- NSString
- NSData
- NSDate
- NSNumber (int/float/bool)

Upvotes: 2

Related Questions