Closed rickclephas closed 3 months ago
# Maven coordinates - api("com.rickclephas.kmm:kmm-viewmodel-core") + api("com.rickclephas.kmp:kmp-observableviewmodel-core") # Kotlin package - import com.rickclephas.kmm.viewmodel.* + import com.rickclephas.kmp.observableviewmodel.* # ViewModel class - class TimeTravelViewModel: KMMViewModel() + class TimeTravelViewModel: ViewModel() # Swift modules - import KMMViewModelCore + import KMPObservableViewModelCore - import KMMViewModelSwiftUI + import KMPObservableViewModelSwiftUI # Swift-Kotlin connection logic - extension Kmm_viewmodel_coreKMMViewModel: KMMViewModel { } + extension Kmp_observableviewmodel_coreViewModel: ViewModel { }
Closes #50
Closes #50