Hello Swift community,

The review of SE-00139 
<https://github.com/apple/swift-evolution/blob/master/proposals/0139-bridge-nsnumber-and-nsvalue.md>
 "Bridge Numeric Types to NSNumber and Cocoa Structs to NSValue” ran from 
September 1…7, 2016. The proposal has been accepted with one modification: 
numeric values bridged to NSNumber will maintain their type identity (e.g., an 
Int8 bridged to an NSNumber can be cast via as!/as? to an Int8) while other 
instances of NSNumber (e.g., those created in Objective-C) can be cast to any 
numeric type that can represent their value. This matches the existing bridging 
behavior introduced in id-to-Any bridging (SE-0116 
<https://github.com/apple/swift-evolution/blob/master/proposals/0116-id-as-any.md>).
 The proposal text has been updated accordingly.

        - Doug
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to