Skip navigation.
 
mlRe: how to implement 2 tableViews in a class
FROM : j o a r
DATE : Sat Jan 05 21:25:20 2008

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

Related mailsAuthorDate
mlhow to implement 2 tableViews in a class Navneet Kumar Jan 5, 21:01
mlRe: how to implement 2 tableViews in a class mmalc crawford Jan 5, 21:25
mlRe: how to implement 2 tableViews in a class j o a r Jan 5, 21:25
mlRe: how to implement 2 tableViews in a class Mike Abdullah Jan 5, 21:50