On Jun 26, 2010, at 11:51 AM, Quincey Morris wrote: > 1. Unless this has changed recently, [NSNumber numberWithInt: 1] and > [NSNumber numberWithBool: YES] both return the same (singleton) object, as do > [NSNumber numberWithInt: 0] and [NSNumber numberWithBool: NO].
This is not true in Snow Leopard, at least. One can distinguish 0, 1 from false, true using CFGetTypeID. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
