saket / press

Cross-platform markdown editor written in Kotlin Multiplatform (work in progress)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup a blank iOS app

saket opened this issue · comments

Just getting a blank iOS app running would be a good first step towards bringing Press to iOS. Everything else can be wired later.

Hey @saket 👋 You can assign it to me, I would be happy to kickstart the iOS platform :)

Done! 🤟

Fwiw the Kotlin slack team is a treasure of information. I imagine integrating Kotlin multiplatform with iOS won't be as smooth as Android. You might find help if you run into roadblocks: http://slack.kotlinlang.org/

hey there @saket ! I'd be interested in helping with iOS too! Been looking for a a way to start contributing to open source and this project looks awesome! how can I help?

Thank you @ncooke3! There is a directory for the iOS app but it's empty right now. If we could get it up running and just print the name of the saved notes, that would be dope.

The database table can be accessed using a NoteQueries file that will be generated when the project is built. You can get a reference to it as shown here:

If you're feeling adventurous, printing the list of notes using HomePresenter instead of directly accessing the database classes would a huuuge win. In case it's useful, you can see how the presenter is used in HomeView here.

The shared code uses reaktive, which offers interop functions with RxJava for Android. I think adding interop for something that's common on Swift (do you use RxSwift?) won't be too hard.

Btw @ncooke3, please coordinate with @riteshhgupta?

Sorry folks @saket @ncooke3, pretty hectic week so couldn't start anything on it yet.
@ncooke3 If you have ideas on how to initiate it then please go with it, I'll join you early next week.

A sample iOS app can be found here

Looks like there is already a blank iOS app in the iosApp folder?

Yeah… I don't know if it works anymore. I think I'm going to close this issue for now. Getting a basic macOS app up and running is my first priority after Android.