Re: Archiving NSColor as NSData
Re: Archiving NSColor as NSData
- Subject: Re: Archiving NSColor as NSData
- From: Phil <email@hidden>
- Date: Wed, 13 Aug 2008 13:27:12 +1200
On Wed, Aug 13, 2008 at 9:26 AM, Rein Hillmann <email@hidden> wrote:
> colorAsData: <040b7374 7265616d 74797065 6481e803 84014084 8484074e 53436f6c
> 6f720084 84084e53 4f626a65 63740085 84016301 84046666 66660101 000186>
>
> I suspect it's archiving other ivars in the color object. If so, is this
> much data in a single color object not a little extreme?
>
I'm just guessing here, but it may also be archiving the NSColorSpace
associated with the NSColor, which contains information about the
colour profile so that it can accurately reproduce your NSColor on any
output device. It might be able to take short cuts with certain
colours or built-in colour spaces---again, just a guess.
Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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