title: Swift Function to Objective C
body: <p>I've been trying to convert this Swift function to Objective-C for so long. Someone please help.</p>
  
  <p>It's a function that centers SpriteKit nodes at the right location on all devices.</p>
  
  <pre><code>func convert(point: CGPoint)-&gt;CGPoint {
      return self.view!.convertPoint(CGPoint(x: point.x, y:self.view!.frame.height-point.y), toScene:self)
  }
  </code></pre>
  
  <p>Guess this is a good time to learn Swift.</p>