[swift-corelibs-dev] NSCoding methods

Luke Howard lukeh at padl.com
Tue Dec 22 05:42:14 CST 2015


Also, I’m sure this is just my lack of Swift-fu but I’m occasionally getting EXC_BAD_INSTRUCTION in NSString.hash() where the hash code is cast to an Int. If I use unsafeBitCast() instead it seems to work, but I have no idea whether this is safe or not.

I’m on OS X with the 2015-12-18 snapshot.

— Luke


More information about the swift-corelibs-dev mailing list