• 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
Re: Drag and drop color swatches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and drop color swatches


  • Subject: Re: Drag and drop color swatches
  • From: email@hidden (Heinrich Giesen)
  • Date: Wed, 8 Dec 2004 21:19:48 +0100

Hello,

On 08.12.2004, at 18:13, Christopher Drum wrote:

I see now that I was focusing too heavily on the "data" part of those docs.

Your idea to using the archiver was absolutely correct, but we can do it simpler
with a special method in the NSColor class. If you use the archiver or if
you say [aColor writeToPasteboard:pb], the data on the pasteboard (all 239 bytes)
are exactly the same :-)


--
Heinrich Giesen

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
References: 
 >Re: Drag and drop color swatches (From: email@hidden (Heinrich Giesen))
 >Re: Drag and drop color swatches (From: Christopher Drum <email@hidden>)

  • Prev by Date: Re: Obj-C as a viable multi target language
  • Next by Date: reversing an NSString
  • Previous by thread: Re: Drag and drop color swatches
  • Next by thread: Re: Drag and drop color swatches
  • Index(es):
    • Date
    • Thread