I need to read and write data to/from a text file, but I haven\'t been able to figure out how.
I found this sample code in the Swift\'s iBook, but I still don\'t kno
This works with Swift 3.1.1 on Linux:
import Foundation let s = try! String(contentsOfFile: "yo", encoding: .utf8)