[swift-users] Generate Swift interface from Objective-C file using clang

Michael Ilseman milseman at apple.com
Wed Jul 6 16:33:02 CDT 2016


The best way I know of is the swift-ide-test tool, and you’ll see it being invoked by many of the ClangImporter tests.

> On Jul 6, 2016, at 10:45 AM, Ryan Wilson via swift-users <swift-users at swift.org> wrote:
> 
> Hi everyone,
> 
> In Xcode, I can generate a Swift interface for an Objective-C file by using the assistant editor and selecting "Generated Interface" from the menu of what to display.  How would I go about generating this using the tools in the Swift repo from GitHub? I've been digging around the code and have seen ClangImporter but not sure if I'm looking for the right thing.
> 
> Thanks,
> Ryan
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users



More information about the swift-users mailing list