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

2016-10-28 Thread Tony Parker via swift-corelibs-dev
Sorry, this fell off my radar. I’ll test and merge again. - Tony > On Oct 27, 2016, at 2:56 AM, Luke Howard wrote: > > BTW is anything blocking integrating SR-2416? > > https://github.com/apple/swift-corelibs-foundation/pull/574 >

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

2016-10-28 Thread Luke Howard via swift-corelibs-dev
Thanks, SR closed. > On 28 Oct 2016, at 3:06 AM, Tony Parker wrote: > > Sorry, this fell off my radar. I’ll test and merge again. > > - Tony > >> On Oct 27, 2016, at 2:56 AM, Luke Howard > > wrote: >> >> BTW is anything blocking integrating SR-2416? >> >> https://githu

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

2016-10-27 Thread Luke Howard via swift-corelibs-dev
BTW is anything blocking integrating SR-2416? https://github.com/apple/swift-corelibs-foundation/pull/574 That allows value types to be archived too if they support _ObjectBridgeable (they’ll come back as reference types though). > On 27 Oct 2016, at 4:22 AM, Tony Parker via swift-corelibs-dev

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 APIs at > https://devel

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

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

2016-10-26 Thread Max Desiatov via swift-corelibs-dev
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 APIs at https://developer.apple.com/reference/. With best regards, Max. > On 26 Oct 2016