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

[Newbie] Multiple NSTableViews


  • Subject: [Newbie] Multiple NSTableViews
  • From: J Tichenor <email@hidden>
  • Date: Sat, 25 Sep 2004 18:05:20 +0100

There must be something obvious that I am missing:

I have two tableViews that one controller is deal with. Loading data programatically, through dataSource protocol methods. In each of the the numberOfRowsInTableView: and objectValueForTableColumn: methods, I have a switch that checks the tag of the calling tableView. Depending on the tag, different results should be returned.

The problem is that the methods are returning the proper values for the first table, but nothing for the second. NSLogging tells me the numberOfRowsInTableView is called once upon AwakeFromNib, when neither of my dataSources have value to display in the tables yet.

Later, when a user browser to an item that has displayable tableData, the first table is populated, the methods both log activity, but then the second table is never checked or populated, and no log activity is posted for the second switch.

Is there something that I missing, in terms of multiple tables and telling the controller to continue working through population of the tables?

Can forward code if it will help:

TIA!

~j~



James Tichenor
VFX Supervisor
AIM: email@hidden
(07779) 256 103
http://www.lehopictures.com/the_joint/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: [Newbie] Multiple NSTableViews
      • From: mmalcolm crawford <email@hidden>
    • Re: [Newbie] Multiple NSTableViews
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: I can capture stderr but can't capture stdout... unless debugging?
  • Next by Date: Re: [Newbie] Multiple NSTableViews
  • Previous by thread: Re: I can capture stderr but can't capture stdout... unless debugging?
  • Next by thread: Re: [Newbie] Multiple NSTableViews
  • Index(es):
    • Date
    • Thread