Re: NSTokenField - workaround for paste or drop vs. beginEditing and bindings?
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