• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow reference remains null after window did load


  • Subject: Re: NSWindow reference remains null after window did load
  • From: Andy Lee <email@hidden>
  • Date: Tue, 28 Jul 2009 20:38:38 -0400

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.

--Andy


On Tuesday, July 28, 2009, at 04:12PM, "Daniel Child" <email@hidden> wrote:
>The correct number, a value obtained from the model.
>
>On Jul 28, 2009, at 3:02 PM, email@hidden wrote:
>
>>> The only datasource method to get called is numberOfRowsInTableView.
>>
>> What number is it returning?
>>
>> --Andy


_______________________________________________

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

  • Follow-Ups:
    • Re: NSWindow reference remains null after window did load (SOLVED)
      • From: Daniel Child <email@hidden>
  • Prev by Date: Re: Copying Managed Objects from App to Doc MOContext
  • Next by Date: Re: Use of cells with custom controls
  • Previous by thread: Re: NSWindow reference remains null after window did load
  • Next by thread: Re: NSWindow reference remains null after window did load (SOLVED)
  • Index(es):
    • Date
    • Thread