Yoloabdo
8/21/2016 - 9:45 PM

Arrays to string

// printing an Int array: 

// MARK: - First method
let res = Array.map { String($0) }
print(res.joinWithSeparator(" "))

//MARK: - Second method
_ = leftShift(x, times: 4).map { print("\($0) ", terminator: "") }