• 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
Re: Navigating a TableView: A Solution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Navigating a TableView: A Solution


  • Subject: Re: Navigating a TableView: A Solution
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 13 Mar 2006 11:08:56 -0800
  • Thread-topic: Navigating a TableView: A Solution

On Mon, 13 Mar 2006 07:07:13 -0700, Peter Bates <email@hidden> said:
>Matt, following up on your suggestion, I've been experimenting with -
>(BOOL)textView:(NSTextView *)aTextView doCommandBySelector:(SEL)
>aSelector.
>
>I expected to be able to respond to it in my tableView subclass,
>since it is the field editor's delegate, but discovered that the
>tableView sends this message, which must be responded to by the
>tableView's delegate.  So to implement this strategy, I might not
>subclass NSTableView at all, but just provide a delegate object for
>the tables.  Is my understanding correct to this point?

Experiment and find out. My concern was simply to show you that there was no
need for the egregious approach of subclassing NSWindow and interfering with
the event-sending mechanism - that you should use the framework (or perhaps
better, let it use you), not subvert it. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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

  • Prev by Date: Re: Registering software
  • Next by Date: DragItemAround sample code
  • Previous by thread: Re: Navigating a TableView: A Solution
  • Next by thread: Never Mind (Popup List Contains <MyObject 0x1234>)
  • Index(es):
    • Date
    • Thread