开发者

How to save data into the User's Application Support?

开发者 https://www.devze.com 2023-01-25 21:02 出处:网络
I want to save some XML formatted data into the Application Support folder, but I have no idea how to do that.

I want to save some XML formatted data into the Application Support folder, but I have no idea how to do that.

Does anyone kno开发者_如何学编程w any tutorials for teaching you how to save data into the Application Support folder and how to create an XML file?


Depending on the kind of data, the simplest is to write an NSDictionary to plist format. If it's not and can't be an NSDictionary, look at NSXMLDocument.

Application Support folder is best located using NSSearchPathForDirectoriesInDomains

HTH

0

精彩评论

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