[SOLVED-sort of] Re: NSTokenField ignoring field editor change?
[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