• 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
NSMatrix actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMatrix actions


  • Subject: NSMatrix actions
  • From: Robert Goldsmith <email@hidden>
  • Date: Thu, 11 Oct 2001 01:22:34 +0100

Hi all :)

I think I'm missing something simple here but these are my thoughts and my problem:

When the user clicks on a cell in an NSMatrix, the docs say it sends an action to a receiver. It also seems to say that is the NSCell subclass it is using as it's cell has the action, the cell is sent the action, otherwise the delegate of NSMatrix gets it.

However, I seem to be missing two things:

1) What actions are defined? Where are they listed? If I want my NSCell subclass to respond to the action NSMatrix sends when a mouse click occurs, I figure it will be looking for a specific action definition.

2) If there are no defined standard actions, how do I tell NSMatrix 'look for this action when the user clicks a cell' ?

As a side question, is there a way to do this in IB (remembering that the NSMatrix holds a custom NSCell subclass so is simply a 'custom view' in IB)?

Thanks

Robert
--
Please note the new email address:
email@hidden


  • Follow-Ups:
    • Re: NSMatrix actions
      • From: "Erik M. Buck" <email@hidden>
  • Prev by Date: Re: NSDistributedNotification and Developer Cooperation.. arequest for discussion
  • Next by Date: Re: The late, lamented movie preview box.
  • Previous by thread: SetWindowFrameAutosaveName:
  • Next by thread: Re: NSMatrix actions
  • Index(es):
    • Date
    • Thread