[swift-corelibs-dev] Swiftier? implementation of Measurement and Unit in Foundation

2016-08-11 Thread Joanna Carter via swift-corelibs-dev
Having had to implement convertible measurements and units for a project a couple of years ago, I thought I would take a look at the upcoming Measurements and Units implementations as found in the Github archive. Since we are continually being told that protocol-oriented code and the preferred

Re: [swift-corelibs-dev] Swiftier? implementation of Measurement and Unit in Foundation

2016-08-24 Thread Joanna Carter via swift-corelibs-dev
> An important requirement of the design of measurements and units was that it > had to work in Objective-C as well, where protocols do not have as many > capabilities as they do in Swift. The bridging into Swift can only do so > much, and frankly it didn’t seem to be the case that traditional i