Skip navigation.
 
mlNSTokenField
FROM : Ivan Blagdan
DATE : Tue Apr 29 14:57:49 2008

Greetings,

I have some issues regarding the behavior of the NSTokenFiled.... i 
need to act on removal/addition of tokens(autocompleted reresentations 
of some objects) in the field. My setup is as follows:

NSTokenField content is handled by a delegate that in turn, 
autocompletes, fills it up from coredata MO's trough represented 
object delegate methods. The delegate, upon the shouldAddObjects 
message preforms some additional functionality in the application, 
forwarding the current contents of the tokenfield.
This works fine until the user is adding things in the field, but 
fails on removal of tokens in the field. Using NSControls delegate 
controlTextDidChange is not an option, because i am interested in an 
array of managed objects from coredata, using controlTextDidChange 
returns NSStrings until the values are autocompleted etc.

Should i rearrange the complete thing in a different manner, or is 
there something I am missing in the docs?

Thanks... and cheers,

Ivan

Related mailsAuthorDate
No related mails found.