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

Jens Alfke jens at mooseyard.com
Mon Jan 16 23:06:08 CST 2017


> On Jan 16, 2017, at 6:18 PM, Dave Yost via swift-users <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.

—Jens

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


More information about the swift-users mailing list