• 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
Double click binding for NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Double click binding for NSTextView


  • Subject: Double click binding for NSTextView
  • From: Timothy Larkin <email@hidden>
  • Date: Tue, 9 Aug 2005 13:23:50 -0400

I don't understand how to work the doubleclicktarget binding for an NSTextView. I want to bind it to an instance of a class which is not an array controller. The instantiated object appears in the "bind to" list, but when I select it, I am required to define a model key path. This value isn't the selector sent on a double click, since that is defined in the selector attribute. I simply want the selector to be sent to the bound object. So what goes in the model key path? ("self" doesn't work.)

Tim Larkin
Abstract Tools
_______________________________________________
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: turning the focus ring off on 10.2
  • Next by Date: Re: NSBrowser and Binding
  • Previous by thread: Re: turning the focus ring off on 10.2
  • Next by thread: NsColorWell Connection Issue
  • Index(es):
    • Date
    • Thread