NSObject in swift2 can present AnyHashable in swift3

前端之家收集整理的这篇文章主要介绍了NSObject in swift2 can present AnyHashable in swift3前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

AnyHashable is new structure in Swift 3

AnyHashable
https://developer.apple.com/reference/swift/anyhashable

unannotated NSDictionaries will be imported as [AnyHashable : Any].
https://github.com/apple/swift-evolution/blob/master/proposals/0131-anyhashable.md

原文链接:https://www.f2er.com/swift/322811.html

猜你在找的Swift相关文章