Converting an Int to String in Swift is easy.
There are two ways of doing it:
let myInt: Int = 10 var myString = String(myInt)
let myInt: Int = 10 var myString = "\(myInt)"
let myString: String = "10" let myInt: Int = Int(myString)
The Complete iOS App Development Bootcamp
Disclosure: This website may contain affiliate links, meaning when you click the links and make a purchase, we receive a commission.