NSCFBoolean Hashes Incorrectly
Nat! reports that [NSNumber numberWithInt:1] and [NSNumber numberWithBool:YES] are equal but have different hash codes because NSCFBoolean doesn’t override -[NSObject hash].
Comments
Stay up-to-date by subscribing to the Comments RSS Feed for this post.