Swift Write to file 到电脑桌面 (arr as NSArray).write(toFile: "Users/你的用户名/Desktop/mian.plist", atomically: true)