[swift-dev] [swift-corelibs-dev] Query on the Foundation API notes.

Tony Parker anthony.parker at apple.com
Tue Jun 20 14:48:46 CDT 2017


Hi Mamatha,

As part of the development of iOS 11 / macOS 10.13, we actually moved these API note files into the SDK instead of being part of the compiler, to allow framework authors to update them as they changed their headers, rather than requiring compiler changes.

- Tony

> On Jun 19, 2017, at 10:45 PM, Mamatha Busi via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
> 
> Hello
> 
> Command-Click shows the Swift representation of Objective-C API in Xcode. 
> I understand that Darwin overlay which defines the Foundation APIs is here: 
> https://github.com/apple/swift/tree/master/stdlib/public/SDK/Foundation <https://github.com/apple/swift/tree/master/stdlib/public/SDK/Foundation>
> 
> Also, there is: https://github.com/apple/swift/blob/master/apinotes/Foundation.apinotes <https://github.com/apple/swift/blob/master/apinotes/Foundation.apinotes> that has information on the API naming. 
> 
> But, I observe that the API information on both these locations are not complete. For example: API information for URLSession, HTTPCookieStorage, Bundle etc., is not found. 
> 
> Could someone point me to the files from where the API information is picked up for these files?
> 
> Thank you.
> 
> Regards
> Mamatha
> 
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170620/9ad872b7/attachment.html>


More information about the swift-dev mailing list