Comments (3)
@Fostahh generated swift code not part of xcframework. swift code located in build directory. check this sample - Alex009/moko-kswift-usage-sample@fc92131
from moko-kswift.
@Alex009 thank you so much for replying! But in my case, I don't have any iosApp or androidApp module in this KM Lib Project since I'm going to use this as a library or SDK. Then, I'm going to link this KM Library/SDK into my existing Xcode project. Is this possible to implement sealed class for my case?
from moko-kswift.
I already have the generated swift code by kswift like this
Build the xcframework and link it into my Xcode project. Then copy the generated swift code file into my Xcode project too. The result is like this
Since the function returns this
from moko-kswift.
Related Issues (20)
- Is it necessary to name a multiplatform lib exactly 'MultiPlatform Library' HOT 2
- Unable to generate extensions Pair
- excludeLibrary/includeLibrary should use group+name value
- Compile Swift code inside Kotlin framework HOT 1
- Generated Swift.podspec should read deploy target version for xcode 14 HOT 1
- Add extension field to Kotlin sealed class for conversion to Swift enum
- Generate extension functions for classes which have public functions accepting sealed classes instances as parameters
- Invalid generation of enums when sealed class/interface declaration is nested in other class and it's subtypes are not inside sealed class
- Generate code for extension with lambdas
- Generic class inside sealed class not generated properly
- At which phase code is actually being generated? I need to run build 2 times HOT 2
- Build warnings caused by unneeded force cast
- Add support for single swift file generation in multimodule project to simplify manual linking of generated swift code to XCode project
- Add configuration of generated swift files path inside gradle plugin
- Swift code does not generating when calling kSwift{moduleName}Podspec task
- Generated enum does not conform to Codable HOT 3
- trying to convert Kotlin data classes to swift struct
- Kotlin 2.0 on link step crash HOT 4
- UIStateKs not synchronized with UIState class HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moko-kswift.