On 17 Jun 2014, at 01:33, Sean McBride <s...@rogue-research.com> wrote:

> Hi all,
> 
> 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?

For NSImage at least you can got the extra round via NSData. For NSColor I 
suspect you have to write something of your own.
Maybe that's the though behind it - NSData adopts NSSecureCoding, NSImage has 
an interface to get and set it via NSData. Who knows.

> Cheers,
> 
> -- 
> ____________________________________________________________
> Sean McBride, B. Eng                 s...@rogue-research.com
> Rogue Research                        www.rogue-research.com 
> Mac Software Developer              Montréal, Québec, Canada
> 
> 
> 
> _______________________________________________
> 
> 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/michael.starke%40hicknhack-software.com
> 
> This email sent to michael.sta...@hicknhack-software.com


___m i c h a e l   s t a r k e____ 
       geschäftsführer
       HicknHack Software GmbH
       www.hicknhack-software.com
       
___k o n t a k t____
       +49 (170) 3686136
       cont...@hicknhack.com
       
___H i c k n H a c k   S o f t w a r e   G m b H____
       geschäftsführer - maik lathan | andreas reischuck | michael starke
       bayreuther straße 32
       01187 dresden
       amtsgericht dresden HRB 30351
       sitz - dresden


_______________________________________________

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