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

Insert at cursor position NSTokenField


  • Subject: Insert at cursor position NSTokenField
  • From: "Paris Page" <email@hidden>
  • Date: Thu, 2 Aug 2007 11:41:27 +0200

I read and tested for quite some days already, and I still wonder how
to insert text and / or custom token objects at the current cursor
position. I did not yet found out how this is suppost to work. Do I
have to use a NSPasteboard?

So far the best I came up with is changing the array of tokens
obtained by [NSTokenField objectValue] and set the alterered array
with [NSTokenField setObjectValue], however this misses the notion of
"current user cursor position".

Any help appreciated.
_______________________________________________

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

  • Follow-Ups:
    • Re: Insert at cursor position NSTokenField
      • From: "Paris Page" <email@hidden>
  • Prev by Date: applicationShouldOpenUntitledFile not invoked
  • Next by Date: Re: Thread Communication Conceptual Question
  • Previous by thread: Re: applicationShouldOpenUntitledFile not invoked
  • Next by thread: Re: Insert at cursor position NSTokenField
  • Index(es):
    • Date
    • Thread