title: Where is CGRectGetMidX/Y in Swift 3
body: <p>IN Siwft 3, I could not find CGRectGetMidX and Y which I used to calclate position of nodes. Also I could not find CGPointMake. IN this case, how am I able to set nodes in the center of SKScene? </p>
  
  <p>Thanks!</p>
  
  <p><strong>Update:</strong>
  I created a node and specified the position of it, by writing this way;</p>
  
  <pre><code>let node = SKSpriteNode()
  node.position = CGPoint(x:self.frame.size.width/2, y:self.frame.size.height/2)
  node.size = CGSize(width: 100, height: 100)
  node.color = SKColor.red
  self.addChild(node)
  </code></pre>
  
  <p>Why is it somewhere else like different place from the specified location? I firstly thought there was a change in Swift3 and the depresciation of CGPointMake caused this problem, but it does not seem like it is the cause. In this case, is the use of CGRect better? It is very helpful if you could write code that fixs this position issue. Again, thank you for your help.</p>