Re: Simple beginner pasteboard issues
Re: Simple beginner pasteboard issues
- Subject: Re: Simple beginner pasteboard issues
- From: "I. Savant" <email@hidden>
- Date: Tue, 28 Mar 2006 08:41:44 -0500
Check out the NSCoding protocol documentation, make your object
NSCoding compliant, and use NSArchiver / NSUnarchiver to encode the
object as an NSData then decode it again on the other end.
--
I.S.
On Mar 28, 2006, at 2:58 AM, Matteo Manferdini wrote:
Hi everyone, I'm trying to use pasteboards but I'm not getting
anywhere.
I have objects I want to copy into a pasteboard for drag&drop
operations, but I can't figure out how to do it. Pasteboards only
accept NSData objects or predefined types, so how do I convert my
custom object into something I can put into the pasteboard? And how
can I convert it back in paste operations?
Thanks.
---
Matteo Manferdini
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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