Re: how to implement 2 tableViews in a class
Re: how to implement 2 tableViews in a class
- Subject: Re: how to implement 2 tableViews in a class
- From: Mike Abdullah <email@hidden>
- Date: Sat, 5 Jan 2008 20:50:21 +0000
Of course, other options are:
*Split your code up into 2 controllers; one per table.
*Use bindings instead.
Mike.
On 5 Jan 2008, at 20:25, j o a r wrote:
On Jan 5, 2008, at 12:01 PM, Navneet Kumar wrote:
I have two NSTableView outlets in my AppController class.
So how do I implement delegate methods. I mean there syntax is
same, so how
won't it give rise to some sort of conflict?
Also how can I distinguish which notification is sent by which
tableView?
You'll notice that all data source and delegate methods pass the
table view as a method argument. Any notifications sent by the table
view also has the table view as the notification object.
j o a r
_______________________________________________
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
_______________________________________________
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