开发者

NSArray to plist on mac

开发者 https://www.devze.com 2023-01-18 14:52 出处:网络
I need to save/load a NSMutableArray 开发者_如何学Cof NSDictionarys to a file in the application directory. Apparently this does not work like on the iPhone ([array writeToFile] & arrayWithContens

I need to save/load a NSMutableArray 开发者_如何学Cof NSDictionarys to a file in the application directory. Apparently this does not work like on the iPhone ([array writeToFile] & arrayWithContensOfFile]). How is this done on a mac. Thank you. (sorry for the stupid question)


The problem was that I had a NSAttributedString in the dictionary . Apperently this can not be saved to a plist.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号