ngoni / BikeShare

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BikeShare

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

Running on

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

Related posts:

BikeShare Screenshot BikeShare Screenshot

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.

About

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

License:Apache License 2.0


Languages

Language:Kotlin 70.4%Language:Swift 20.5%Language:Ruby 9.1%