Delay Function in Swift 3.0

time     Since thing have changed a lot for Swift 3.0 , here is a quick tip on how to create a delayed function with the new API. Add this function to your project: Then if you want to launch anything after a delay, you use it like so: That’s all πŸ™‚ Cheers! Continue reading β†’

Saving and Loading Text in Swift

high_score     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 […] Continue reading β†’

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 […] Continue reading β†’