Try this: let path = CGMutablePath() path.move(to: CGPoint(x: 30, y: 0)). CGPath APIs are now imported as instance methods in Swift 3.
確定! 回上一頁