Skip to content

Instantly share code, notes, and snippets.

@azrsjp
Created May 29, 2017 15:51
Show Gist options
  • Save azrsjp/8790e4b00be9cbea18dcd976dab46af6 to your computer and use it in GitHub Desktop.
Save azrsjp/8790e4b00be9cbea18dcd976dab46af6 to your computer and use it in GitHub Desktop.
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