SyntaxFix
Write A Post
Hire A Developer
Questions
In Swift 4.2 and Xcode 10.1
let string:String = "789" let intValue:Int = Int(string)! print(intValue) let integerValue:Int = 789 let stringValue:String = String(integerValue) //OR //let stringValue:String = "\(integerValue)" print(stringValue)