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

Ryan Wilson ryanwils at gmail.com
Thu Jul 7 08:23:26 CDT 2016


Thank you! I'll take a look.

On Wed, 6 Jul 2016 at 17:33 Michael Ilseman <milseman at apple.com> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160707/38da7df4/attachment.html>


More information about the swift-users mailing list