Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Use shared code in macOS app 🎉 #40

Merged
merged 4 commits into from
Apr 19, 2020
Merged

Conversation

saket
Copy link
Owner

@saket saket commented Apr 19, 2020

Screen Shot 2020-04-18 at 11 35 16 PM

The "macOS" comes from shared code written in Kotlin:

import shared

struct ContentView: View {
  var body: some View {
    Text("Hello \(Platform().name)!")
    ...
  }
}

@saket saket added the macOS label Apr 19, 2020
@saket saket force-pushed the saket/apr18/blank-macos-app branch from 9f6c166 to 4094825 Compare April 19, 2020 03:39
@saket saket force-pushed the saket/apr18/blank-macos-app branch from 4094825 to ea5545e Compare April 19, 2020 19:58
@saket saket merged commit 2ac602c into master Apr 19, 2020
@saket saket deleted the saket/apr18/blank-macos-app branch April 19, 2020 20:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant