• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
deriving behavior from a superclass' subclass?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: What is a marked text in NSTextView
  • Next by Date: Missing characters
  • Previous by thread: Getting the process name of an app that isn't launched
  • Next by thread: Missing characters
  • Index(es):
    • Date
    • Thread