Re: "Multiple Inheritance" between NSTableView and NSOutlineView
Re: "Multiple Inheritance" between NSTableView and NSOutlineView
- Subject: Re: "Multiple Inheritance" between NSTableView and NSOutlineView
- From: Jerry Krinock <email@hidden>
- Date: Tue, 04 Jul 2006 05:22:32 -0700
- Thread-topic: "Multiple Inheritance" between NSTableView and NSOutlineView
on 06/07/03 19:53, Adam R. Maxwell at email@hidden wrote:
>> A category? No, because categories can only be added to one class.
>
> Are you sure? I think you can use a category on NSTableView, and
> NSOutlineView will inherit that implementation.
Yes, I just tested this and it works. The answer was right in front of my
face.
However, I'm going to take Matt's suggestion and read up on this "message
forwarding" instead, since with "message forwarding" I'll be able to use
this "helper" for other objects besides tables and outlines.
Thanks very much!
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden