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

Re: NSTextView keyDown Question


  • Subject: Re: NSTextView keyDown Question
  • From: j o a r <email@hidden>
  • Date: Tue, 20 Dec 2005 13:25:38 +0100


On 20 dec 2005, at 13.12, Philip Dow wrote:

Perhaps you can even set your text view subclass as its own delegate.

Note that this is most often not possible, as many classes have checks to prevent objects from being their own delegate.

Also, if you decide to use delegate methods, ask yourself if you really need a text view subclass at all?

This is at the heart of good Cocoa design: Keep the core Cocoa classes as they are, and collect your business logic in controller and delegate classes.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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
References: 
 >NSTextView keyDown Question (From: Nik Youdale <email@hidden>)
 >Re: NSTextView keyDown Question (From: j o a r <email@hidden>)
 >Re: NSTextView keyDown Question (From: Nik Youdale <email@hidden>)
 >Re: NSTextView keyDown Question (From: Philip Dow <email@hidden>)

  • Prev by Date: Re: NSTextView keyDown Question
  • Next by Date: Re: Implementing a scrollable icon-table
  • Previous by thread: Re: NSTextView keyDown Question
  • Next by thread: Re: NSTextView keyDown Question
  • Index(es):
    • Date
    • Thread