-
Notifications
You must be signed in to change notification settings - Fork 48
JavaKit: Enable imported Java classes as Swift classes by default #141
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
JavaKit: Enable imported Java classes as Swift classes by default #141
Conversation
Note that most of the logic is #140. This PR exists to switch the default over to the new mechanism. |
Flip the switch to have Java2Swift generate Swift classes to represent each imported Java class, and make the (relatively few) adjustments needed to the JavaKit library to make that work. Implements issue swiftlang#132.
303cb4f
to
4c86346
Compare
FYI this patch breaks building with Swift 6.0.2 (not Android-specific).
|
Sorry, must be that we aren't building this sample in CI yet. Fix here: #146 |
@lhoward should be fixed on main now |
Thanks, works. |
Think there may be some rough edges with return type overloading.
|
Fix for the (non-)covariance of array-returning methods at #148 |
Flip the switch to have Java2Swift generate Swift classes to represent
each imported Java class, and make the (relatively few) adjustments
needed to the JavaKit library to make that work.
Implements issue #132.