Re: pasteboard issues
Re: pasteboard issues
- Subject: Re: pasteboard issues
- From: Uli Kusterer <email@hidden>
- Date: Sun, 11 Feb 2007 20:34:19 +0100
Am 11.02.2007 um 19:24 schrieb Brian Amerige:
Like I said before, NSFilenamesPboardType sets nicely, and I can
read the array of paths (which are indeed PB-compatible) from the
propertylist. The problem is, by custom PBoard doesn't. I was under
the assumption that custom PBoard types were open to a multitude of
object-types --- is this correct?
Well, the type is. However, setPropertyList:forType: still requires
a valid plist. If you want to archive non-plist objects, you'll have
to use NSKeyedArchiver to archive them into NSData and then put that
on the pasteboard, or use some othe pasteboard method.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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