Copying a reference of an object
Copying a reference of an object
- Subject: Copying a reference of an object
- From: Lorenzo <email@hidden>
- Date: Thu, 16 Dec 2004 14:38:40 +0100
Hi,
I would like to copy to the pasterboard a reference (id) of an object, so
later I can paste the same object into another object without recreating it.
It's so simple without using the pasterboard, but since I use the
pasterboard, and it requires NSData, and I don't create an encoder for my
object, I don't know how to pass the reference (id) of the object to the
pasterboard. Using the int address of the object doesn't work.
So, what should I copy to the pasterboard?
Best Regards
--
Lorenzo
email: 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