Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
[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?

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

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

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.