Re: pasteboard issues
Re: pasteboard issues
- Subject: Re: pasteboard issues
- From: mmalc crawford <email@hidden>
- Date: Sun, 11 Feb 2007 05:06:02 -0800
On Feb 10, 2007, at 8:13 PM, Brian Amerige wrote:
NSArray *objectsArray = [NSArray arrayWithObjects:files, items,
nil];
[pboard setPropertyList:objectsArray
forType:NSFilenamesPboardType];
I should have looked more closely at the type:
NSFilenamesPboardType requires an array of NSString objects (that
represent file names) -- you can't add arbitrary types to the array):
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSPasteboard_Class/Reference/Reference.html#//apple_ref/doc/c_ref/NSFilenamesPboardType
>
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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