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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -