TheArchitect123 / KmpEssentials

KmpEssentials is a library that contains apis (40+ Modules) to accelerate your development. Everything from managing the Battery, File System, getting Package information, or taking Photos. Supports iOS, Android & AppleWatch
MIT License
169 stars 2 forks source link

Getting started for iOS? #1

Closed schott12521 closed 2 months ago

schott12521 commented 2 months ago

I love this project, but I want to know how to setup for iOS -- do you have any examples? I could write some of the documentation if you already have a working example.

TheArchitect123 commented 2 months ago

Hi, Thanks for the feedback. For iOS, you don't need to do any setup.

Simply import the project into your shared build.gradle file.

implementation("io.github.thearchitect123:kmpEssentials:0.8.2") // latest package

Then you can start using the api in your shared module. You can find a list of modules available here

Android however requires initialisation inside your Activity's onCreate method, that's because the context needs to be passed, but iOS initialises automatically.

I'm writing up a documentation site to help people get started, and I'm pushing soon some example projects. I'm busy though writing up the WatchKit Apis + Desktop.

schott12521 commented 1 month ago

I appreciate the response, let me know if you're looking for collaborators.

TheArchitect123 commented 1 month ago

@schott12521 You can find the documentation site available here.

https://thearchitect123.github.io/ArtifactsDocProduction/develop/kotlin/multiplatform/kmpessentials/