Re: Archiving NSColor as NSData

2008-08-12 Thread Phil
On Wed, Aug 13, 2008 at 9:26 AM, Rein Hillmann <[EMAIL PROTECTED]> wrote: > colorAsData: <040b7374 7265616d 74797065 6481e803 84014084 8484074e 53436f6c > 6f720084 84084e53 4f626a65 63740085 84016301 8404 0101 000186> > > I suspect it's archiving other ivars in the color object. If so, is t

Re: Archiving NSColor as NSData

2008-08-12 Thread Shawn Erickson
On Tue, Aug 12, 2008 at 2:26 PM, Rein Hillmann <[EMAIL PROTECTED]> wrote: > Hi, > > Disclaimer: this is a question from a newbie. > > Could someone please explain why an NSColor yields so much data when > archived to NSData? > > For example, the following code: > > NSColor* color = [NSColor yellowC

Re: Archiving NSColor as NSData

2008-08-12 Thread Jim Correia
On Aug 12, 2008, at 5:26 PM, Rein Hillmann wrote: Could someone please explain why an NSColor yields so much data when archived to NSData? For example, the following code: NSColor* color = [NSColor yellowColor]; NSData* colorAsData = [NSArchiver archivedDataWithRootObject:color]; NSLog(@"col

Archiving NSColor as NSData

2008-08-12 Thread Rein Hillmann
Hi, Disclaimer: this is a question from a newbie. Could someone please explain why an NSColor yields so much data when archived to NSData? For example, the following code: NSColor* color = [NSColor yellowColor]; NSData* colorAsData = [NSArchiver archivedDataWithRootObject:color]; NSLog(@"co