Contact notifications are handled by the physics world’s contact delegate. This is a class that conforms to the SKPhysicsContactDelegate protocol. Whenever collisions occur, the physics world notifies its contact delegate (an instance of a class conforming to the SKPhysicsContactDelegate protocol), so that we can react appropriately to the collision.