FROM : Mike Abdullah
DATE : Sat Jan 05 21:50:21 2008
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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Sat Jan 05 21:50:21 2008
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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| 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

