langford / Gryphon

The Swift to Kotlin translator.

Home Page:https://vinivendra.github.io/Gryphon/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gryphon logo

The Swift to Kotlin translator

Gryphon is a program that translates Swift code into Kotlin code. It was created to enable mobile app developers to share parts of an iOS app's codebase with Android.

  • Risk-free. Stop using Gryphon whenever you want - you'll still be able to read and understand your Kotlin code, even the computer-generated parts.
  • No editing needed. Translated Kotlin files work the same as the Swift files they came from.
  • Xcode integration. Translate your iOS code to Android, compile the Android app, and see Kotlin's errors and warnings in the Swift lines that originated them - all without leaving Xcode.
  • Custom-made. Use special comments and templates to customize your Kotlin translation, and use any platform-specific features you want - even in translated source files.

Check out the project's website for more information.

πŸ‘ Status

Gryphon is now in preview! πŸŽ‰

This means the main systems and ideas have already been implemented - for instance, it's been translating its own codebase for a while now. However, new users might still find some new bugs to be fixed. If that's the case, feel free to report a new issue on GitHub.

πŸ“² Getting started

Gryphon supports macOS, Linux, and Docker. Xcode integration is only available on macOS, but Linux and Docker users can still translate Swift code that doesn't import the iOS frameworks.

Check out the Tutorial to get started. It covers the basic information needed to begin using Gryphon:

There are also in-depth guides on a few topics:

The project uses GitHub issues to keep track of planned features and bugs. All bug reports and feature requests are welcome and encouraged. If you would like to contribute, check out the contributor's guide and take a look at some good first issues. You should also read the code of conduct.

About

The Swift to Kotlin translator.

https://vinivendra.github.io/Gryphon/

License:Apache License 2.0


Languages

Language:Swift 92.0%Language:Kotlin 7.6%Language:Shell 0.4%Language:Dockerfile 0.1%