I have an array with 30 SKSpriteNodes. I'd like to add each node to the scene one at a time, with a small time delay. This is what I have so far, but it adds all the sprites instantaneously.
for var i = 0; i < 31; i++ {
var boardPiece = SKShapeNode()
boardPiece = addBigRedCircle()
redPiecesArray.addObject(boardPiece)
self.addChild(redPiecesArray.objectAtIndex(i) as SKNode)
}
How could I add these objects from the array 1 at a time and so efficiently? (If you know how to do this with Obj-C, that would help to as I can probably figure out how to say the same thing with Swift)