• 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
class dispatch table has duplicate names right?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

class dispatch table has duplicate names right?


  • Subject: class dispatch table has duplicate names right?
  • From: Ben Dougall <email@hidden>
  • Date: Wed, 9 Jul 2003 14:36:18 +0100

from the obj-c pdf pg 88:

A class dispatch table. This table has entries that associate method selectors with
the class-specific addresses of the methods they identify. The selector for the
setOrigin:: method is associated with the address of (the procedure that
implements) setOrigin::, the selector for the display method is associated with
displays address, and so on.

i don't quite understand this because methods of the same name can be implemented within multiple classes.

does that just mean that the 'class dispatch table' simply includes duplicate, identical method names for however many times that name is implemented in all the classes, each with its own associated address?
_______________________________________________
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.
  • Follow-Ups:
    • Re: class dispatch table has duplicate names right?
      • From: "Clark S. Cox III" <email@hidden>
    • Re: class dispatch table has duplicate names right?
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: NSMatrix with Custom NSCells
  • Next by Date: Re: class dispatch table has duplicate names right?
  • Previous by thread: NSMatrix with Custom NSCells
  • Next by thread: Re: class dispatch table has duplicate names right?
  • Index(es):
    • Date
    • Thread