How to Distinguish Between Two TableViews
How to Distinguish Between Two TableViews
- Subject: How to Distinguish Between Two TableViews
- From: Chris Share <email@hidden>
- Date: Sun, 17 Oct 2010 16:29:14 -0700 (PDT)
Hi,
I'm new to Cocoa. I'm developing a simple application that contains two
TableViews. What I can't figure out is how to distinguish between the two
TableView pointers that are passed in to:
- (int)numberOfRowsInTableView:(NSTableView *) tableView
- (id)tableView:(NSTableView *)tableView
objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
How do I do this?
In IB the Names and IDs of the two table views are different - do I somehow need
to use these? If so, how?
Cheers,
Chris
_______________________________________________
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