deriving behavior from a superclass' subclass?
deriving behavior from a superclass' subclass?
- Subject: deriving behavior from a superclass' subclass?
- From: Cryx <email@hidden>
- Date: Sun, 7 Jul 2002 02:31:53 -0500
If class B is a subclass of A, A' is a subclass of A, and B' is a
subclass of B, how might B' derive its behavior from A'? More specific
to my case, A = NSTableView and B = NSOutlineView.
I was inclined to use a category to implement A' behaviour, but I do
require the ability to invoke the replaced method.
Daryn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.