Created
May 14, 2016 05:54
-
-
Save diversario/6f67a9ded9fc105267fb7f039a713c50 to your computer and use it in GitHub Desktop.
log deinitialization of a node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyNode: SKSpriteNode { | |
// init et al | |
deinit { | |
print("MyNode \(name) destroyed.") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment