[swift-users] source for a Swift module's interface

Dave Yost Dave at Yost.com
Fri Jan 20 00:48:02 CST 2017


> On 2017-01-16, at 9:06 PM, Jens Alfke <jens at mooseyard.com> wrote:
> 
> 
>> On Jan 16, 2017, at 6:18 PM, Dave Yost via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>> wrote:
>> 
>> In Xcode I can put the caret on Darwin in "import Darwin” and use Jump to Definition to see a Swift source file for the Darwin module.
> 
> You can also just hold Command down and click. I use this shortcut all the time.
> 
>> But the file has no name, and clicking on the Show In Finder contextual menu item (which is enabled) does nothing but activate the Finder. I have looked every which way and haven’t found a Swift interface source file for Darwin, Swift, Foundation, anything.
> 
> These aren’t files. They’re generated on the fly by Xcode, either by parsing C headers, or by decompiling binaries.

I think they should be provided as files. At least it would be good if there were a command line tool to produce the Swift source files. No such luck?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170119/d891d4fe/attachment.html>


More information about the swift-users mailing list