Skip to content
/ BikeShare Public template
forked from joreilly/BikeShare

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

License

Notifications You must be signed in to change notification settings

DonnyOlijslager/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)

Related posts:

BikeShare Screenshot BikeShare Screenshot

Building

Note that, due to use of Jetpack Compose, Android Studio Arctic Fox is required to build/run the Android client.

Minimum of XCode 13.2 beta is required for iOS project as it now uses Swift 5.5 concurrency capabilities. When opening iOS and macOS projects remember to open .xcworkspace file (and not .xcodeproj one)

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

SwiftUI, Jetpack Compose, and Compose for Desktop 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 68.1%
  • Swift 28.1%
  • Ruby 3.8%