Re: [swift-corelibs-dev] Query on NSKeyedArchiver

2016-10-26 Thread Tony Parker via swift-corelibs-dev
> On Oct 26, 2016, at 10:14 AM, Max Desiatov wrote: > > Hi Tony, > > This is very interesting caveat. Is there a plan to get this documented > anywhere? I haven't seen any documentation for Swift Foundation published > publicly anywhere akin to how it's done for other

Re: [swift-corelibs-dev] Query on NSKeyedArchiver

2016-10-26 Thread Tony Parker via swift-corelibs-dev
Hi Sai, We do have basic support for keyed archiving and unarchiving in swift-corelibs-foundation on Linux. The limitation is that the NSCoding protocol cannot be applied to Swift struct types, only class types. On Darwin, the class also must be a subclass of NSObject. This last limitation may

[swift-corelibs-dev] Query on NSKeyedArchiver

2016-10-26 Thread Sai Kanduri via swift-corelibs-dev
Hi Tony,   From your comments on Pull Request #574 I understand that we cannot archive/un-archive non-NS objects using  NsKeyedArchiver & NSKeyedUnarchiver.I s my understanding correct ..? Does this means that archiving and un-archiving of  swift types is  not supported on Linux  ?   -Sai Hema