You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-13Lines changed: 10 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,9 @@
4
4
5
5
KSP library and Gradle plugin for generating `ComposeUIViewController` and `UIViewControllerRepresentable` files when using [Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/) for iOS.
[](https://androidweekly.net/issues/issue-583)[](https://mailchi.mp/kotlinweekly/kotlin-weekly-378)[](https://mailchi.mp/kotlinweekly/kotlin-weekly-389) <ahref="https://jetc.dev/issues/177.html"><imgsrc="https://img.shields.io/badge/As_Seen_In-jetc.dev_Newsletter_Issue_%23177-blue?logo=Jetpack+Compose&logoColor=white"alt="As Seen In - jetc.dev Newsletter Issue #177"></a> <ahref="https://jetc.dev/issues/188.html"><imgsrc="https://img.shields.io/badge/As_Seen_In-jetc.dev_Newsletter_Issue_%23188-blue?logo=Jetpack+Compose&logoColor=white"alt="As Seen In - jetc.dev Newsletter Issue #188"></a>
13
12
@@ -44,7 +43,7 @@ ComposeUiViewController {
44
43
}
45
44
```
46
45
47
-
With this setup, all necessary configurations are automatically applied. You only need to adjust the `ComposeUiViewController` block to match your
46
+
With this setup, all necessary configurations are automatically applied. You only need to adjust the `ComposeUiViewController` block to match your
48
47
project settings (e.g. `iosAppName` and `targetName`). If you wish to change the default values, you can configure its parameters:
49
48
50
49
<details><summary>Parameters available</summary>
@@ -61,14 +60,12 @@ project settings (e.g. `iosAppName` and `targetName`). If you wish to change the
61
60
62
61
## Swift Export
63
62
To enable Swift Export support, just follow the official [documentation](https://kotlinlang.org/docs/native-swift-export.html).
64
-
Until the stable release of Kotlin 2.3.0, use the experimental plugin chanel `2.3.0-*`.
65
63
66
-
> [!IMPORTANT]
67
-
> The following steps are recommended when switching between modes:
68
-
> 1. Change `embedAndSignAppleFrameworkForXcode` to `embedSwiftExportForXcode` in your `project.pbxproj` or vice-versa;
69
-
> 2. Delete the `Representables` folder inside your `iosApp` using Xcode (if exists);
70
-
> 3. Delete the `Derived Data`using Xcode or DevCleaner app;
71
-
> 4. Run `./gradlew clean --no-build-cache`.
64
+
> [!IMPORTANT]
65
+
> When switching between modes - `embedAndSignAppleFrameworkForXcode` to `embedSwiftExportForXcode` or vice-versa - follow this steps:
66
+
> 1. Delete the `Representables` folder inside your `iosApp` using Xcode;
67
+
> 2. Delete the `Derived Data`using Xcode or DevCleaner app;
68
+
> 3. Run `./gradlew clean --no-build-cache`.
72
69
73
70
## Code generation
74
71
@@ -228,4 +225,4 @@ of the License at
228
225
229
226
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
230
227
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under
Copy file name to clipboardExpand all lines: kmp-composeuiviewcontroller-gradle-plugin/src/main/kotlin/com/github/guilhe/kmp/composeuiviewcontroller/gradle/KmpComposeUIViewControllerPlugin.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@ public class KmpComposeUIViewControllerPlugin : Plugin<Project> {
0 commit comments