• 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
[SOLVED-sort of] Re: NSTokenField ignoring field editor change?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED-sort of] Re: NSTokenField ignoring field editor change?


  • Subject: [SOLVED-sort of] Re: NSTokenField ignoring field editor change?
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 7 Jul 2005 16:38:18 -0600


On Jul 7, 2005, at 9:41 AM, Nick Zitzmann wrote:

But despite this, the NSTokenField is using a plain old NSTextView as its field editor instead of the one I want it to use, while the NSTextField is using the custom field editor as it should.

Upon further investigation, it appears that NSTokenField is indeed ignoring the field editor as set by the window and using its own internal field editor titled "NSTokenTextView", and NSTokenFieldCell has a method called +_sharedFieldEditor that returns an instance of the class. So it looks like in order to use a custom field editor in an NSTokenField, one needs to override several private APIs...


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ 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: 
 >NSTokenField ignoring field editor change? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Widgets turning white and never unturning white?
  • Next by Date: Re: Widgets turning white and never unturning white?
  • Previous by thread: NSTokenField ignoring field editor change?
  • Next by thread: NSLocalDomainMask & Cocoa Foundation documentation
  • Index(es):
    • Date
    • Thread