Hi Mike,

The Foundation shipping with OS X and iOS is still written in Objective-C. The 
Swift-Corelibs Foundation is for use on other platforms currently.

        David

> On Apr 22, 2016, at 2:03 PM, Mike Berg via swift-dev <swift-dev@swift.org> 
> wrote:
> 
> Hi everyone,
> 
> A question has come up on my project that nobody seems to have an answer for. 
> I was hoping someone here might know:
> 
> On my project, we have a longstanding iOS application that has both objC and 
> swift source files. As is the case for most old apps out there (a few years), 
> we regularly use swift code in objC and vice versa.
> 
> We have been keeping tabs on how Swift has been expanding and we noticed that 
> with Swift 3, the foundation classes will be rewritten in swift. So does this 
> mean that all Swift classes using Foundation automatically start using 
> Foundation written in Swift or is it opt-in? If it’s mandatory, then will 
> libraries dependent on the Objective-C runtime no longer work (i.e. the 
> Alamofire git repo)?
> 
> Thanks for reading and take care,
> -- 
> Michael Berg
> Technical Analyst
> Solstice Mobile
> (630) 414-6938
> _______________________________________________
> swift-dev mailing list
> swift-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to