Re: [swift-corelibs-dev] [SR-1608]

2016-08-08 Thread Tony Parker via swift-corelibs-dev
Hi David, The compiler has been changing pretty rapidly underneath us, but hopefully has settled down a bit now that we’re getting towards the end. I’d suggest rebasing against master again and trying with the latest compiler snapshots. - Tony > On Aug 3, 2016, at 3:29 AM, David Liu wrote: >

[swift-corelibs-dev] in-app purchase

2016-08-08 Thread developer--- via swift-corelibs-dev
> PLATFORM AND VERSION > iOS > i am using a Macbook Pro running El Capitan (i ran the update today) with the > latest version of Xcode. i tried to test the practice app on my iPad (i am > updating it to iOS 9.3.2 right now) > > DESCRIPTION OF PROBLEM > i am a student, i have taken all of my pro

Re: [swift-corelibs-dev] Is NSXMLParser completely implemented (swift-3.0-PREVIEW-2)

2016-08-08 Thread Tim Kreger via swift-corelibs-dev
Hi Tony, here is the JIRA. https://bugs.swift.org/browse/SR-2301 Importantly none of the delegates required to parse a string are there(didStart, didEnd, didStartElement, didEndElement etc), seem to be working. Regards Tim Tim Kreger Developer Intelematics Australia Pty Ltd: connected mobilit

Re: [swift-corelibs-dev] [SR-1608]

2016-08-08 Thread David Liu via swift-corelibs-dev
Hey Tony, Thanks for the reply :) yea know lots of changes as of late. So think part of it was my own fault, I was building my toolchain with a outdated Xcode and after updating it compiled like a champ! I updated rebased to master with the latest toolchain snapshot that is working as well. Cheer

Re: [swift-corelibs-dev] Query on init methods in Data.swift

2016-08-08 Thread Tony Parker via swift-corelibs-dev
Hi Simon, The correct one is the non-optional version. We changed it after some discussion about if it made sense for Data to attempt to return nil here, when there are so many ways for memory allocation to fail without returning an optional. We’re working on updating the swift-corelibs-founda

Re: [swift-corelibs-dev] Query on Bundle.unload()

2016-08-08 Thread Tony Parker via swift-corelibs-dev
Hi Sai, What I understand from the Swift runtime team is that unloading of Swift executables is basically unsupported. There are a lot of challenges to getting unloading right in general, because it can remove things like “constant” strings and cause mysterious crashes. - Tony > On Aug 3, 201

Re: [swift-corelibs-dev] Is NSXMLParser completely implemented (swift-3.0-PREVIEW-2)

2016-08-08 Thread Tony Parker via swift-corelibs-dev
Hi Tim, Can you file a JIRA for us? Swift doesn’t support optional methods in protocols, so for ObjC protocols that are optional on OS X I tried to provide default implementations that do nothing on Linux. It’s possible I missed some for NSXMLParser. - Tony > On Aug 2, 2016, at 8:08 PM, Tim K