Re: [swift-users] NSData vs Data in swift 3

2016-08-12 Thread Quinn "The Eskimo!" via swift-users
On 12 Aug 2016, at 05:00, CK TUNG via swift-users wrote: > Any idea on the motivation to have new Data class in Foundation ? For the motivation behind these changes, check out the following Swift evolution proposals: * SE-0069 “Mutability and Foundation Value Types”

[swift-users] NSData vs Data in swift 3

2016-08-11 Thread CK TUNG via swift-users
Anyone know where to get the updated guide on Binary Data in swift 3? The only thing I know from WWDC video is that "NSData" is reference type and the "Data" is value type and they have different methods of init rules and to getbytes or copybytes. Any idea on the motivation to have new Data cl