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

[ad_1]

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.

[ad_2]

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