An open API service indexing awesome lists of open source software.

https://github.com/vladleesi/yet-another-calculator

Behold, here it is – yet another calculator! This marvel of innovation will calculate stuff, just like countless others before it. Built for Android and iOS using Compose Multiplatform.
https://github.com/vladleesi/yet-another-calculator

android compose-multiplatform ios kotlin kotlin-coroutines kotlin-flow kotlin-multiplatform kotlin-multiplatform-mobile kotlin-project

Last synced: 8 months ago
JSON representation

Behold, here it is – yet another calculator! This marvel of innovation will calculate stuff, just like countless others before it. Built for Android and iOS using Compose Multiplatform.

Awesome Lists containing this project

README

          

# Yet Another Calculator (YAC)

YAC is another calculator built with [Kotlin Multiplatform Mobile](https://kotlinlang.org/docs/multiplatform-mobile-getting-started.html) and [Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/).

| Android (Dark theme) | iOS (Light theme) |
| ----------- | ----------- |
| ![Screenshot_20230620_185132](https://github.com/vladleesi/yet-another-calculator/assets/30999008/56b6ffcb-23b6-4478-9799-129c4c365512) | ![Simulator Screenshot - iPhone 14 Pro - 2023-06-20 at 18 51 58](https://github.com/vladleesi/yet-another-calculator/assets/30999008/779103cb-33db-49ce-a041-33ef7c594b3f) |

### Project Structure
The project follows the Kotlin Multiplatform structure, allowing code sharing between Android and iOS platforms. Here's a brief overview of the project structure:

- `shared`: Contains shared Kotlin code that is used by both Android and iOS.
- `androidApp`: Contains the Android-specific code, including activities, UI components, and Android-specific dependencies.
- `iosApp`: Contains the iOS-specific code, including view controllers, SwiftUI views, and iOS-specific dependencies.

### Build
#### Android:
1. Open `androidApp` folder from [Android Studio](https://developer.android.com/studio)
2. Click Run

#### iOS:
1. Open `iosApp/iosApp.xcodeproj` folder from [Xcode](https://developer.apple.com/xcode/resources/)
2. Click Run

### Contributing
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to create an issue or submit a pull request.

### Licence
This project is licensed under the [Apache License 2.0](LICENSE).