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
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 mails | Author | Date |
|---|---|---|
| Navneet Kumar | Jan 5, 21:01 | |
| mmalc crawford | Jan 5, 21:25 | |
| j o a r | Jan 5, 21:25 | |
| Mike Abdullah | Jan 5, 21:50 |






Cocoa mail archive

