I should clarify. You *can* return nil, but it will be indistinguishable for 0.0f.
Dave On Jan 29, 2010, at 5:46 PM, Dave DeLong wrote: > You can't do that. Instead, return an NSNumber, from which you can deduce > that a nil NSNumber is different from an NSNumber with a floatValue of 0.0. > > Cheers, > > Dave
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
