Skip to content

Instantly share code, notes, and snippets.

@veeneck
Created June 17, 2014 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veeneck/f95625ecc77bced84caf to your computer and use it in GitHub Desktop.
Save veeneck/f95625ecc77bced84caf to your computer and use it in GitHub Desktop.
Swift Enumerate
self.enumerateChildNodesWithName("PurchaseMenu", usingBlock:
{ (node: SKNode!, stop: CMutablePointer<ObjCBool>) in
node.removeFromParent()
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment