• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSViewController awakeFromNib and NSTableView numberOfRowsInTableView (From: Peter Zegelin <email@hidden>)
 >Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView (From: Keary Suska <email@hidden>)
 >Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView (From: Peter Zegelin <email@hidden>)
 >Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView (From: Quincey Morris <email@hidden>)
 >Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView (From: Peter Zegelin <email@hidden>)
 >Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: GC pros and cons
  • Previous by thread: Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView
  • Next by thread: Re: NSViewController awakeFromNib and NSTableView numberOfRowsInTableView
  • Index(es):
    • Date
    • Thread