3 ms·
Searching Google for "read file swift" at best returns the StackOverflow answer in my screenshot. I would never in my life figure out that - reading from and
by dmitriid 7y ago
Searching Google for "read file swift" at best returns the StackOverflow answer in my screenshot.
I would never in my life figure out that
- reading from and writing to a file is not the job of file-related modules, but of a string
- that it would just work like this wothout getting a proper handle to the file (what I assumed what the whole FileManager bruhaha was about)