Kivy on iOS¶
Welcome to the Kivy on iOS guide for Kivy School. This guide teaches you how to run Kivy applications natively on iOS, including full Python and Swift interoperability using the PySwiftKit project, created by xPsycHoWasPx.
What you'll learn¶
- Minimum requirements for running Kivy on iOS
- How to set up your development environment
- How to create, build, and deploy Kivy apps to your iPhone/iPad
- How to extend your app with native Swift code, unlocking all native iOS APIs, and call Swift code from Python and Python from Swift
Sections¶
- Requirements & Setup: System dependencies, tool installation, and preparing your environment for iOS development.
- Create an iOS Project: Step-by-step instructions to set up your first Kivy project for iOS. Build and run it on Simulator / iPhone through Xcode.
- Swift Integration: How to connect Python and Swift in your app, with examples starting from basic to advanced use.
- Additional Resources: References, troubleshooting, and further reading.
About Py-Swift¶
Py-Swift is a project that provides interoperability between Python and Swift on iOS, making it possible to use native iOS features through Swift in Kivy apps, which was not previously possible with any other toolchain.
Next section: Requirements & Setup.