NSObject in swift2 can present AnyHashable in swift3

来源:互联网 发布:商业数据分析 编辑:程序博客网 时间:2024/05/23 11:51

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

0 0
原创粉丝点击