title: How To Remove a SKSpriteNode in didBeginContact
body: <p>How do I remove a SKSpriteNode in the didBeginContact method? 
  I have the node as a global variable, (node:SKSpriteNode!), and I change it's position throughout in a couple functions. However, when it is in contact with another object, I want to remove it from the screen. How should I accomplish that? </p>
  
  <pre><code> func didBeginContact(contact: SKPhysicsContact) {
      let contactMask = contact.bodyA.categoryBitMask | contact.bodyB.categoryBitMask
  
      switch contactMask {
      case ColliderType.Star.rawValue | ColliderType.Cup.rawValue:
          println("")
      default:
          return
  </code></pre>