TheArchitect123/KmpEssentials

Getting started for iOS?

Closed this issue · 3 comments

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.

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.

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