Re: Drag & Drop/Pasteboard issue in Lion
Re: Drag & Drop/Pasteboard issue in Lion
- Subject: Re: Drag & Drop/Pasteboard issue in Lion
- From: Samuel Williams <email@hidden>
- Date: Thu, 02 Feb 2012 03:11:26 +1300
Hi,
A while ago someone mentioned an issue (
http://www.cocoabuilder.com/archive/cocoa/307250-drag-drop-pasteboard-issue-in-lion.html#307250)
where NSPasteboard from AddressBook on Lion was having problems delivering
data:
*(gdb) **po [[[pboard pasteboardItems] objectAtIndex:0] types]*
<__NSArrayM 0x10323f300>(
dyn.ah62d4rv4gu8ycuwftb2gc5xeqzwfg3pqqzv1k4ptr3m1k6xmr3xyc6xwqf6zk8puqy,
dyn.ah62d4rv4gu8ycuwxqz0gn25yrf106y5ysmy0634bsm3gc8nytf2gn,
dyn.ah62d4rv4gu8yc6durvwwa3xmrvw1gkdusm1044pxqyuha2pxsvw0e55bsmwca7d3sbwu,
dyn.ah62d4rv4gu8ycuwuqz11a5dfnzeyk64uqm10c6xenv61a3k,
public.vcard,
dyn.ah62d4rv4gu8z82xqqz1gk3penm11swpsqvw1u3px,
com.apple.pasteboard.promised-file-content-type,
com.apple.pasteboard.promised-file-url,
dyn.ah62d4rv4gu8y6y4usm1044pxqzb085xyqz1hk64uqm10c6xenv61a3k
)
*(gdb) **po [[[pboard pasteboardItems] objectAtIndex:0] dataForType:@
"dyn.ah62d4rv4gu8ycuwftb2gc5xeqzwfg3pqqzv1k4ptr3m1k6xmr3xyc6xwqf6zk8puqy"]*
Can't print the description of a NIL object.
*(gdb) **po [[[pboard pasteboardItems] objectAtIndex:0]
propertyListForType:@"public.vcard"]*
Can't print the description of a NIL object.
*(gdb) **po [[[pboard pasteboardItems] objectAtIndex:0] stringForType:@
"com.apple.pasteboard.promised-file-url"]*
<object returned empty description>
*(gdb) **po [[[pboard pasteboardItems] objectAtIndex:0] stringForType:@
"com.apple.pasteboard.promised-file-content-type"]*
public.vcard
*(gdb) **po [[[pboard pasteboardItems] objectAtIndex:0] stringForType:@
"public.vcard"]*
Can't print the description of a NIL object.
Anyway, I was wondering if anyone else had this issue and figured out what
was going on?
Kind regards,
Samuel
_______________________________________________
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