Archives for 

xcode

Delay Function in Swift 3.0

    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!
0

SpriteKit Game From Scratch, Swift 2.0, part 3

    Introduction Before I go on with this tutorial I just want to say a few words. The tutorial is getting quite long and for a few good reasons – I am trying not to leave a lot out and I am writing in in a raw format, meaning I am not refining it, […]
0

SpriteKit Game From Scratch, Swift 2.0, part 2

    Introduction   We’ll continue with our tutorial on creating a SpriteKit Game from scratch. Last we took off where we were able to create an instance of our hero on every tap on the screen. However we won’t really be creating our hero or the enemy with a tap on the screen, we […]
8

Generating UIButtons from a loop, part 2

Hi, creating a second part of the tutorial as some folks wanted to do this trick with a few variations. ( link to part I ) As a start a Navigation controller got involved ๐Ÿ™‚ So you end up with a problem where buttons would disappear as you go back and forth. Solution for this […]
8