Created
May 8, 2024 16:07
-
-
Save binayshaw7777/4d4973f083059e4be3ad200db8601733 to your computer and use it in GitHub Desktop.
iOS Database for Room KMP/CMP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Path: composeApp/src/iosMain/kotlin/MainViewController.kt | |
| fun MainViewController() = ComposeUIViewController { | |
| val database = remember { getUserDatabase() } | |
| App(database) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment