title: can't use instance method in UIBezierPath()
body: <p>Suppose I want to draw a line in case 1, I can not use the methods in UIBezierPath() if I use the method in another line. </p>
  
  <p>But I can use the methods if I add "." immediately after BezierPath() like case 2</p>
  
  <p><strong><em>case 1</em></strong></p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
      let path = UIBezierPath()
      path.
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/sMlJT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sMlJT.png" alt="enter image description here"></a></p>
  
  <p><strong><em>case 2</em></strong></p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
      let path = UIBezierPath().move(to: &lt;#T##CGPoint#&gt;)
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/52vOu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/52vOu.png" alt="enter image description here"></a></p>