0
我試着寫一個表達式:CGPoint編譯器錯誤
var moveDifference: CGPoint = CGPoint(touchPoint.x - self.anchorPointInPoints().x, touchPoint.y - self.anchorPointInPoints().y)
但Xcode中發誓:
參數標籤 '(_ _ :, :)' 不匹配任何可用的重載
請幫助解決這個問題。
在此先感謝。
CGPoint(x: ..., y: ...)
另外:
非常感謝Paulo –
@OlegSavelyev很高興幫助:-) –