• 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
Re: NSTokenField - workaround for paste or drop vs. beginEditing and bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTokenField - workaround for paste or drop vs. beginEditing and bindings?


  • Subject: Re: NSTokenField - workaround for paste or drop vs. beginEditing and bindings?
  • From: Jim Correia <email@hidden>
  • Date: Tue, 13 Jun 2006 16:49:18 -0400

On Jun 13, 2006, at 4:19 PM, Justin R. Miller wrote:

If you implement:

- (NSArray *)tokenField:(NSTokenField *)tokenField readFromPasteboard:(NSPasteboard *)pboard

in your NSTokenField's delegate, you can dirty the document there with the main window's setDocumentEdited: method. I imagine you could do similar things with the bindings as well.

If I implement that, I become solely responsible for reading the pasteboard, right? NSTokenField's reading of the pasteboard suits me just fine, it just doesn't do the shouldBeginEditing/beginEditing dance that it should on paste or drop.


Jim
_______________________________________________
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


  • Follow-Ups:
    • Re: NSTokenField - workaround for paste or drop vs. beginEditing and bindings?
      • From: "Justin R. Miller" <email@hidden>
References: 
 >NSTokenField - workaround for paste or drop vs. beginEditing and bindings? (From: Jim Correia <email@hidden>)
 >Re: NSTokenField - workaround for paste or drop vs. beginEditing and bindings? (From: "Justin R. Miller" <email@hidden>)

  • Prev by Date: Problems with NSURLRequest and HTTP POST Form Data
  • Next by Date: Re: Sorting array of NSDictionaries sortedArrayUsingFunction
  • Previous by thread: Re: NSTokenField - workaround for paste or drop vs. beginEditing and bindings?
  • Next by thread: Re: NSTokenField - workaround for paste or drop vs. beginEditing and bindings?
  • Index(es):
    • Date
    • Thread