Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate Swift interface to Objective-C header #95

Merged
merged 4 commits into from
Apr 20, 2016

Conversation

jpsim
Copy link
Owner

@jpsim jpsim commented Nov 11, 2015

super early proof of concept generating Swift interface for Objective-C header

@jverkoey
Copy link
Collaborator

In the absence of any reasonable ability to help with this in the short term, I present to you an auditorium filled with cheering pikachus.

ab749e6b99a50eb2b4b9d59cbcebd001

@orta
Copy link
Contributor

orta commented Nov 24, 2015

Here's a winking galaxy of hope too

The Universe's RW it helps me get lucky with the ladies

@jpsim
Copy link
Owner Author

jpsim commented Dec 13, 2015

I just found out that OSS Swift includes lib/PrintAsObjC: https://github.com/apple/swift/blob/master/lib/PrintAsObjC/PrintAsObjC.cpp

If anyone's interested in perusing that.

@jpsim jpsim changed the title [WIP] generate Swift interface to Objective-C header generate Swift interface to Objective-C header Mar 16, 2016
@jpsim
Copy link
Owner Author

jpsim commented Mar 16, 2016

I've rebased this and improved the test. Should be usable as-is.

@jpsim
Copy link
Owner Author

jpsim commented Mar 17, 2016

The SPM tests are failing to build because it's trying to build the fixture, even though it's just a Swift interface, not valid Swift source. Excluding files from tests isn't supported in the Swift toolchain we're using for now, so I'll delay merging this until that's addressed.

@jpsim
Copy link
Owner Author

jpsim commented Apr 18, 2016

PR in jazzy to integrate this: realm/jazzy#530

@jpsim jpsim merged commit 2f5764e into master Apr 20, 2016
@jpsim jpsim deleted the jp-objc-swift-interface branch April 20, 2016 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants