parse int in swift

Swift
let myString1 = "556"
let myInt1 = Int(myString1)
Source

Also in Swift: