Contact: aviboots(AT)netvision.net.il
39,885 questions
51,811 answers
573 users
import Foundation let byteArray: [UInt8] = [65, 114, 97, 103, 111, 114, 110] if let string = String(bytes: byteArray, encoding: .utf8) { print(string) } else { print("Failed to decode string") } /* run: Aragorn */