[Newbie] Multiple NSTableViews
[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