71 points · by jventura · 6y ago · 22 comments
As I'm a beginner in swift and iOS, I've documented all the process at https://github.com/joaoventura/pybridge-ios/blob/master/docs....
I hope this allows me to share all the Python code in my Android app (https://play.google.com/store/apps/details?id=com.flatangle....), which uses the same technique but for android (https://github.com/joaoventura/pybridge)
There are limited exceptions for apps that teach programming, such as Pythonista.
[0] https://www.tensorflow.org/swift/tutorials/python_interopera...
The talks from the author, Russell Keith-Magee, are very interesting, I learned a lot about how apps work.
My approach is different. I have most of the business logic in Python (I share lots of code between a web app and an Android app I have) and write the UI logic in the platform’s native language. This means the apps are always using native UIs and use the platform toolchains, and I can use all tools available natively on the platform.