moko-kswift
Swift-friendly api generator for Kotlin/Native frameworks
File Explorer
Download Latest Version (.zip)- compilation-check.yml
- publish.yml
- codeStyleConfig.xml
- Project.xml
- IceRock.xml
- profiles_settings.xml
- gradle-wrapper.jar
- gradle-wrapper.properties
- libs.versions.toml
- ChildContext.kt
- ClassContext.kt
- FeatureContext.kt
- FragmentContext.kt
- LibraryContext.kt
- PackageContext.kt
- PackageFunctionContext.kt
- BaseConfig.kt
- DataClassCopyFeature.kt
- Filter.kt
- PlatformExtensionFunctionsFeature.kt
- ProcessorFeature.kt
- SealedToSwiftEnumFeature.kt
- KLibProcessor.kt
- KmAnnotationExt.kt
- KmClassExt.kt
- KmConstructorExt.kt
- KmTypeExt.kt
- KotlinMetadataLibraryProvider.kt
- KSwiftExtension.kt
- KSwiftPlugin.kt
- KSwiftPodspecTask.kt
- KSwiftRuntimeAnnotations.kt
- PostProcessLinkTask.kt
- klibUtils.kt
- KmClassExtKtTest.kt
- PlatformExtensionsTest.kt
- mpp-library.klib
- mvvm-livedata.klib
- build.gradle.kts
- gradle.properties
- settings.gradle.kts
- AndroidManifest.xml
- Annotations.kt
- build.gradle.kts
- MainActivity.kt
- activity_main.xml
- AndroidManifest.xml
- build.gradle.kts
- proguard-rules.pro
- contents.xcworkspacedata
- ios-app.xcscheme
- pods-test.xcscheme
- project.pbxproj
- IDEWorkspaceChecks.plist
- contents.xcworkspacedata
- Contents.json
- Contents.json
- Contents.json
- LaunchScreen.storyboard
- Main.storyboard
- AppDelegate.swift
- Info.plist
- SceneDelegate.swift
- ViewController.swift
- Contents.json
- Contents.json
- LaunchScreen.storyboard
- Main.storyboard
- AppDelegate.swift
- Info.plist
- TestViewController.swift
- AnyObjectSealedClassToEnum.swift
- DataClassCopyTests.swift
- ExternalGenericSealedClassesToSwiftEnumTests.swift
- ExternalNonGenericSealedClassesToSwiftEnumTests.swift
- GenericSealedClassesToSwiftEnumTests.swift
- Info.plist
- NonGenericSealedClassesToSwiftEnumTests.swift
- PlatformExtensionsTests.swift
- SealedClassToSwiftEnumTests.swift
- SealedInterfaceToSwiftEnumTests.swift
- Podfile
- Podfile.lock
- AndroidManifest.xml
- DataClass.kt
- DataClassWithCollections.kt
- ExcludedSealed.kt
- Extensions.kt
- ExternalGenericSealedClass.kt
- ExternalNonGenericSealedClass.kt
- GenericSealedClass.kt
- NonGenericSealedClass.kt
- Status.kt
- UIState.kt
- PlatformExtensions.kt
- UILabelExt.kt
- build.gradle.kts
- MultiPlatformLibrary.podspec
- MultiPlatformLibrarySwift.podspec
- AndroidManifest.xml
- TestStateSource.kt
- UIState.kt
- PlatformExtensions.kt
- build.gradle
- mpp_library_pods.podspec
- mpp_library_podsSwift.podspec
- .gitignore
- build.gradle.kts
- CONTRIBUTING.md
- gradle.properties
- gradlew
- gradlew.bat
- LICENSE.md
- README.md
- settings.gradle.kts
# Installation Guide
1. Get the code
git clone https://github.com/icerockdev/moko-kswift
Downloads the entire project code from GitHub to your computer.
cd moko-kswift
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
classpath("dev.icerock.moko:kswift-gradle-plugin:0.7.0")
Builds the project using Gradle.
implementation("com.android.tools.build:gradle:7.0.0")
Builds the project using Gradle.
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21")
Builds the project using Gradle.
implementation("dev.icerock.moko:kswift-gradle-plugin:0.7.0")
Builds the project using Gradle.
./gradlew kSwiftmpp_library_podsPodspec
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
