ios - Update function for SingleViewApplication -
i have used spritekit create mobile applications. want start using singleviewapplication. know in spritekit, there built in update function updates every frame. wondering if there can use singleviewapplications. here how update function looks in spritekit:
override func update(currenttime: cftimeinterval) { } i thinking can add nstimer update as update function does, thinking may add lag app.
also, when add code in viewcontroller, gives me error saying this method not override methods form superclass.
thanks in advance!
Comments
Post a Comment