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

NSTokenField


  • Subject: NSTokenField
  • From: Ivan Blagdan <email@hidden>
  • Date: Tue, 29 Apr 2008 14:57:49 +0200

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
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: starting...
  • Next by Date: Re: Tiger bug on NSXMLParser?
  • Previous by thread: Re: Immediate memory release
  • Next by thread: Webservices and Structure of SOAP Envelope
  • Index(es):
    • Date
    • Thread