Personal suggestion, convert colors to strings (you can use any format, but I 
prefer #RRGGBB.aaaa, drop the .aaaa for opaque color, which is compact and 
easily understood by humans) and images to PNG data (lossless), then archive.

On Jun 17, 2014, at 17:30, Greg Weston <gwes...@mac.com> wrote:

> Sean McBride wonders:
> 
>> I was modernizing some of my code to support NSSecureCoding instead of just 
>> NSCoding and stumbled upon that fact that NSColor and NSImage support only 
>> NSCoding and not NSSecureCoding.  Whereas NSURL, NSData, NSArray and 
>> countless others now support NSSecureCoding.
>> 
>> Is it just that Apple hasn't gotten around to NSColor and NSImage, or is 
>> there some rationale I'm not seeing?
> 
> Given my understanding of NSSecureCoding's implications/promises, I'm 
> thinking NSColor and NSImage may have nothing to gain by implementing that 
> protocol. Perhaps the (current) encoded form of those types is only a 
> collection of scalars; object substitution isn't a meaningful concern.
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com
> 
> This email sent to xcvi...@me.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to