> On 2 Nov 2014, at 18:43, Alexander Reichstadt <l...@icloud.com> wrote:
> 
> Hi,
> 
> I'd like to write @"test" to the pasteboard in response to a tableview drag 
> to end up in another app's textfield.
> 
> I see that all my methods are called accordingly, but when I release the 
> mouse button, nothing is inserted nor does the cursor react by reflecting the 
> insertion point if the mouse button was released.
> What else is needed to do this?
> 
> Also, from the documentation on pasteboardPropertyListForType one would 
> expect to return a property list. Property lists consist of keys and values 
> in my understanding, but a string is just an unordered chain of characters. 
> What would the keyes be, actually the one key, to which to assign the string 
> @"test" then?

Not strictly true. Property lists are comprised purely of dictionaries, arrays, 
strings, numbers, dates & data. Usually that tends to involve a dictionary as 
the root object. But just a string by itself is a valid property list.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to