[Solved] Is there a Swift equivalent for this code? [closed]


The equivalent Swift code would be as follows.

let scrollPoint = CGPoint(x: 0, y: textField.frame.origin.y)
scrollView.setContentOffset(scrollPoint, animated: true)

There are lots of good resources for learning Swift. The Apple book on Swift is free and quite good.

solved Is there a Swift equivalent for this code? [closed]