• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Copying a reference of an object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Copying a reference of an object
      • From: João Pavão <email@hidden>
  • Prev by Date: Re: Embedding binary data in an application's property list
  • Next by Date: Re: Stacking run loops
  • Previous by thread: Re: setLineDash for grid lines
  • Next by thread: Re: Copying a reference of an object
  • Index(es):
    • Date
    • Thread