how to convert int to string in swift 5 code example Example: ios swift convert int to string let x : Int = 42 var myString = String(x)