[swift-evolution] Proposed changes to SE-0033 Import Objective-C Constants as Swift Types
Ben Rimmington
me at benrimmington.com
Mon Jun 6 17:51:55 CDT 2016
SE-0033 and SE-0044 are already "Implemented in Swift 3" according to both
the proposals and the README, but not according to the bug tracker:
<https://github.com/apple/swift-evolution/blob/master/README.md>
<https://bugs.swift.org/browse/SR-1053>
(I can't find a bug report for SE-0033).
The example in SE-0033 imports HKQuantityTypeIdentifierBodyMassIndex as the
HKQuantityTypeIdentifier.bodyMassIndex enum case, but what if you also need
to nest this inside the class as HKQuantityType.Identifier.bodyMassIndex?
(See SE-0086 hoisted types).
-- Ben
More information about the swift-evolution
mailing list