[swift-evolution] [Proposal] Union Type
frogcjn at 163.com
Fri Jul 1 04:08:24 CDT 2016
I'm now officially proposal the union type feature for Swift. Please see:
Add union type grammar, represents the type which is one of other types.
var stringOrURL: String | URL = "https://www.apple.com <https://www.apple.com/>"
I would be thankful if someone support this idea and give some advice. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution