There is a relatively new feature in Swift, which makes it easy to save data, so that you don't lose it when you close the app or switch off your PC. This is a much improved feature in Swift 4.1 and makes life a lot easier!
0:00 Intro
0:44 Save command
1:42 Text edit area
2:00 Converting String variable to an array
The gist with the code is at: https://gist.github.com/jamesabela/31...