[swift-users] NSData vs Data write to string differently?
Robert Nikander
robert.nikander at icloud.com
Thu Sep 22 17:31:36 CDT 2016
Hi,
I’ve run into a problem when updating to new Swift in Xcode 8. There was some NSData in a string like this:
“ … \(data) … “
It changed to type `Data`, and the string went from hexadecimal bytes to writing “20 bytes”. I’m doing a quick bug fix app release now. I can’t remember if Xcode auto converted this for me. I thought it did. ? Either way… seems like they should behave the same here, no?
Rob
More information about the swift-users
mailing list