有人能解释一下如何访问下面介绍的CMutablePointer<CGPoint>
吗?我找不到它的语法.以前是Objective-C
分之->
,但这里我的解决方案都不管用.我需要以相反的方式找到解决方案.
func scrollViewWillEndDragging(scrollView: UIScrollView!, withVelocity velocity: CGPoint, targetContentOffset: CMutablePointer<CGPoint>) {
let newPage = targetContentOffset->x + 1;
}