开发者

put something in .txt file

I have (finally) managed to send a txt file via ftp to my server! YAY!

It is an empty .txt file at the moment. My question is - How do I put something in that .txt file. I can store NSStrings from UITextFie开发者_StackOverflowlds, but how do i put them strings in the file?

Thanks


I think you can use writeToFile: method. Perhaps this may help.

Problem writing string to a file ...(iPhone SDK )


A few classes to get you started:

NSFileManager

NSString's path methods

NSFileHandle

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜