title: How can I read from and write to files using Swift on a mac?
body: <p>I've been looking all over the Internet for an answer to this one, and every answer I've gotten either hasn't worked, is enormously complex, is for iOS only, or a combination of the three. I am just looking for a simple way to perform file I/O in Swift for use on a Mac. So I guess that a way to mix c++ and swift would also work, but for that I've had the same problems as before. Any help would be greatly appreciated!</p>