Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
import Foundation
import SpriteKit
class View: SKNode {
// Override if want to update views per frames
func update(_ currentTime: TimeInterval) {}
// Override if want to initialize properties of views on display
func constructView(sceneSize: CGSize) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment