0
我试着写一个表达式:CGPoint编译器错误
var moveDifference: CGPoint = CGPoint(touchPoint.x - self.anchorPointInPoints().x, touchPoint.y - self.anchorPointInPoints().y)
但Xcode中发誓:
参数标签 '(_ _ :, :)' 不匹配任何可用的重载
请帮助解决这个问题。
在此先感谢。
CGPoint(x: ..., y: ...)
另外:
非常感谢Paulo –
@OlegSavelyev很高兴帮助:-) –