Skip to content
/ BikeShare Public template

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

License

Notifications You must be signed in to change notification settings

joreilly/BikeShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f6b4f96 · Feb 26, 2025
Dec 21, 2024
Sep 22, 2024
Dec 22, 2024
Apr 18, 2022
Feb 25, 2025
Dec 22, 2024
Dec 31, 2024
Dec 24, 2022
Feb 26, 2025
Dec 31, 2024
Jul 7, 2023
Dec 31, 2024
Oct 12, 2020
Dec 23, 2024
Sep 14, 2024
Dec 20, 2024
Aug 17, 2023
Mar 16, 2023
Mar 16, 2023
Oct 5, 2024

Repository files navigation

BikeShare

kotlin-version

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

Running on

  • iOS (SwiftUI)
  • Android (Jetpack Compose)
  • Desktop (Compose for Desktop)
  • Web (Wasm based Compose for Web)
  • Swift Executable Package

Related posts:

Screenshot 2022-12-24 at 15 16 22

BikeShare Screenshot

Screenshot 2023-12-02 at 15 01 25 Screenshot 2023-12-02 at 14 10 34

Building

Need to use at least Android Studio Arctic Fox to build/run the Android client.

Requires Xcode 13.2 or later (due to use of new Swift 5.5 concurrency APIs). When opening iOS project remember to open .xcworkspace file (and not .xcodeproj one)

Compose for Desktop client

This client is available in compose-desktop module. Note that you need to use appropriate version of 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.

Full set of Kotlin Multiplatform/Compose/SwiftUI samples