Skip to content

Jetpack Compose and SwiftUI based Kotlin Multiplatform project (using CityBikes API http://api.citybik.es/v2/).

License

Notifications You must be signed in to change notification settings

RichWoollcott/BikeShare

 
 

Repository files navigation

BikeShare

Jetpack Compose and SwiftUI based Kotlin Multiplatform sample project (based on CityBikes API).

Running on

  • iOS (SwiftUI)
  • macOS (SwiftUI)
  • Android (Jetpack Compose)
  • Desktop (Compose for Desktop)

BikeShare Screenshot BikeShare Screenshot

Note that, due to use of Jetpack Compose, Android Studio Canary is required to build/run Android client. The iOS client has been tested in latest released version of XCode (currently 12.0). See below regarding macOS build. When opening iOS and macOS projects remember to open .xcworkspace file (and not .xcodeproj one)

macOS client

The macOS client uses functionality only available in SwiftUI 2 and as a result requires use of XCode 12.2 beta.

Compose for Desktop client

This client is available in compose-desktop module. Note that you currently need to use EAP version of kotlin plugin and also use appropriate JVM when running (works for example with Java 11)

Note that this makes use of https://github.com/Shusshu/android-flags for flag images shown.

About

Jetpack Compose and SwiftUI based Kotlin Multiplatform project (using CityBikes API http://api.citybik.es/v2/).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 67.4%
  • Swift 28.5%
  • Ruby 4.1%