[swift-corelibs-dev] NSCoding methods

Luke Howard lukeh at padl.com
Fri Dec 25 04:01:39 CST 2015


Looking at decodeObjectOfClasses/allowedClasses – what is the element type in the set of allowed classes? It seems like it should be AnyClass but that can’t be added to a Set because it doesn’t implement Hashable (nor to an NSSet because the initialiser unconditionally casts to NSObject).

— Luke


More information about the swift-corelibs-dev mailing list