Answers for "from data to string swift"

2

swift + data to string

let str = String(decoding: data, as: UTF8.self)
Posted by: Guest on May-03-2020
1

swift date to string

let today = Date()
let formatter1 = DateFormatter()
formatter1.dateStyle = .short
print(formatter1.string(from: today))
Posted by: Guest on May-05-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language