Saving and Loading Text in Swift

    Here is a full solution on saving and loading text with Swift 2.0, current example is for saving and loading high score in a game. Using those 2 functions we can now declare a variable to store a path to our highscore text file: Here is how we would load  text […]
6

Get file in local Directory

If you have been using the old way of Swift 1.2 to locate files in your local directory and documents folder, you can forget about that in Swift 2.0 in the latest Apple update of iOS 9.1 and Xcode 7.1. Before you would use something like: After I had to do some headbanging I […]
2