On 22/04/2010, at 12:53 AM, Philip Juel Borges wrote:

> But some times I need to leave a tableview cell blank and then it writes NaN 
> in the label. If I type in 0 (zero) it adds up the numbers nicely. But I'd 
> rather just leave the selection empty rather than typing in a zero.
> 
> Any ideas how to solve the NaN issue?


Add a formatter to the cell and set the 'NaN symbol' to 0. You can do this in 
IB.

--Graham


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to