countries-kmp

This is a Kotlin Multiplatform project targeting Android, iOS and Desktop.

GPL-3.0 License

Stars
4

This is a Kotlin Multiplatform project targeting Android, iOS and Desktop.

About the project

This is a simple application which gets the list of all countries and shows them grouped in the alphabetical order

Screenshots per platform

Android iOS Desktop
Android iOS Desktop

Tech stack

Project structure

  • /composeApp is for code that will be shared across your Compose Multiplatform applications.
    It contains several subfolders:
    • commonMain is for code that’s common for all targets.
    • androidMain is for Android specific code
    • desktopMain is for desktop specific code
    • iosMain is for iOS specific code
    • wasmJsMain is for WEB specific code (this is planned to be supported in the feature)
  • /iosApp contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform,
    you need this entry point for your iOS app. This is also where you should add SwiftUI code for
    your project.

Preconditions

NOTE: To be able to run the iOS version make sure to have the latest iOS Simulator

Learning

Learn more about Kotlin Multiplatform, Compose Multiplatform, Kotlin/Wasm

Plans for future

  • Add support for WEB (WASM)
  • Add weather for each country