• 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: NSWindow reference remains null after window did load (SOLVED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow reference remains null after window did load (SOLVED)


  • Subject: Re: NSWindow reference remains null after window did load (SOLVED)
  • From: Daniel Child <email@hidden>
  • Date: Wed, 29 Jul 2009 12:38:11 -0400

No, the syntax was right. The problem mysteriously disappeared when I altered the timing of the method to redraw the table, including the time data is loaded. Thanks for your suggestions.

On Jul 28, 2009, at 8:38 PM, Andy Lee wrote:

Just to be sure -- your method is numberOfRowsInTableView:, not numberOfRowsInTableView, right? You mentioned you'd tried copying working method declarations, so I suspect that's not the problem, but I figured I'd double-check just in case *you* were calling it somewhere you'd forgotten about and it wasn't the table view that was calling it.

There was a similar mystery within the past few months, with very similar "impossible" symptoms. I believe the solution was a missing call to reloadData. But this doesn't sound like your problem, because if numberOfRowsInTableView: returns 17, then the value- getter method should have gotten called 17 times for each column.

_______________________________________________

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: 
 >Re: NSWindow reference remains null after window did load (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: rvalue vs lvalue (was Re: something I can't understand)
  • Next by Date: Re: Cahnging bgColor of a UIView not working.
  • Previous by thread: Re: NSWindow reference remains null after window did load
  • Next by thread: NSCollectionView, Draggable View & Selection
  • Index(es):
    • Date
    • Thread