I experienced this in the following method:
override func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
print(targetContentOffset.pointee.x)
}
The tutorial that I was following used targetContentOffset.memory.x
while I had to use targetContentOffset.pointee.x
Was this a change in Swift of how come that this happened?