var str = "hello world !!!"
str.writeToFile("/Users/huaijie/hellotest.txt", atomically: false, encoding: NSUTF8StringEncoding, error: nil)
Swift 学习笔记——文件操作
最新推荐文章于 2024-05-22 09:35:33 发布
var str = "hello world !!!"
str.writeToFile("/Users/huaijie/hellotest.txt", atomically: false, encoding: NSUTF8StringEncoding, error: nil)