parse int swift code example Example: parse int in swift let myString1 = "556" let myInt1 = Int(myString1)