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]
.
Nat! reports that [NSNumber numberWithInt:1]
and [NSNumber numberWithBool:YES]
are equal but have different hash codes because NSCFBoolean
doesn’t override -[NSObject hash]
.
And, speaking of rip-offs: The Sourge of Arial and How to Spot Arial (via Guy Kawasaki).
Sites have ripped off their Transmit icon, their office photo, and more, but Panic has a sense of humor about it (via Steven Frank).