• 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: NSTextView Custom Class "Not Applicable"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView Custom Class "Not Applicable"


  • Subject: Re: NSTextView Custom Class "Not Applicable"
  • From: Andy Lee <email@hidden>
  • Date: Mon, 15 Apr 2002 13:41:06 -0400

At 7:12 PM +0200 4/15/02, Manfred Lippert wrote:
BTW: I am trying to filter some keys in an NSTextView. Is there a better way
than subclassing NSTextView? (Some delegate methods I haven't seen?)


Probably not. A while back someone asked about detecting a tab out of a text *field*, and one way to handle that was with a delegate method, because NSTextField inherits from NSControl, which has a delegate outlet.

But if you've looked at the delegate methods for NSTextVIEW, you've probably seen all it has to offer. The only thing you might have missed is that NSTextView inherits from NSText, which has delegate methods of its own.

As Bill Cheeseman pointed out, the recurring advice seems to be to override -keyDown:.

--Andy
_______________________________________________
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.

References: 
 >NSTextView Custom Class "Not Applicable" (From: Manfred Lippert <email@hidden>)

  • Prev by Date: Re: NSTextView Custom Class "Not Applicable"
  • Next by Date: Re: NSTextView Custom Class "Not Applicable"
  • Previous by thread: Re: NSTextView Custom Class "Not Applicable"
  • Next by thread: Re: NSTextView Custom Class "Not Applicable"
  • Index(es):
    • Date
    • Thread