I\'m new to Swift and SpriteKit. A lot of the samples of SpriteKit Actions are in Objective C, which I can\'t map to, nor get working, in Swift.
If running an SKAct
Found an issue here:
spaceManDeathAnimation = SKAction.repeatAction(SKAction.animateWithTextures(textures, timePerFrame: 0.15625), count: 1)
Also,as sangony posted a very nice link - solved the completion block syntax to
spaceMan.runAction(spaceManDeathAnimation, completion: {() -> Void in
println("death")
})
Very big thanks to everybody for contributions for a solution!