Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView
Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView
- Subject: Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView
- From: Graham Cox <email@hidden>
- Date: Fri, 26 Jun 2009 13:43:07 +1000
On 26/06/2009, at 1:24 PM, Quincey Morris wrote:
After all, the non-band-aid way is almost as easy:
I wholeheartedly agree - this was me just not taking the trouble to
understand the real issue.
However, in my defence I'd say that any time you perform a division by
a value that something else can change, protecting yourself against
silly values (in this case 0) is usually wise unless you can
absolutely guarantee that the value is always sensible.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden