int to string in ios swift code example
Example 1: conert data to string swift
let str = String(decoding: data, as: UTF8.self)
Example 2: ios swift convert int to string
let x : Int = 42
var myString = String(x)
let str = String(decoding: data, as: UTF8.self)
let x : Int = 42
var myString = String(x)