diff --git a/examples/interop/ios-compose-in-swiftui/README.md b/examples/interop/ios-compose-in-swiftui/README.md index a7c7761e2b4..38cebfd85c1 100644 --- a/examples/interop/ios-compose-in-swiftui/README.md +++ b/examples/interop/ios-compose-in-swiftui/README.md @@ -1,6 +1,6 @@ -# Compose in SwiftUI +# Compose Multiplatform in SwiftUI -This example shows how to use Compose inside an iOS Application written in SwiftUI. +This example shows how to use Compose Multiplatform inside an iOS Application written in SwiftUI. Entry point is `struct ContentView` in file [ContentView.swift](iosApp%2FiosApp%2FContentView.swift). diff --git a/examples/interop/ios-compose-in-swiftui/iosApp/iosApp/ComposeViewControllerInSwiftUI.swift b/examples/interop/ios-compose-in-swiftui/iosApp/iosApp/ComposeViewControllerInSwiftUI.swift index 043d0f26a99..b292cd36a3c 100644 --- a/examples/interop/ios-compose-in-swiftui/iosApp/iosApp/ComposeViewControllerInSwiftUI.swift +++ b/examples/interop/ios-compose-in-swiftui/iosApp/iosApp/ComposeViewControllerInSwiftUI.swift @@ -5,7 +5,7 @@ import MapKit struct ComposeLayer: View { var body: some View { - ScreenTemplate(title: "Compose in SwiftUI") { + ScreenTemplate(title: "Compose Multiplatform in SwiftUI") { ComposeViewControllerInSwiftUI() .ignoresSafeArea(.keyboard) // Compose has its own keyboard handler } diff --git a/examples/interop/ios-compose-in-swiftui/screenshot.png b/examples/interop/ios-compose-in-swiftui/screenshot.png index 1f58b3f727c..b47cf84e774 100644 Binary files a/examples/interop/ios-compose-in-swiftui/screenshot.png and b/examples/interop/ios-compose-in-swiftui/screenshot.png differ diff --git a/examples/interop/ios-compose-in-uikit/README.md b/examples/interop/ios-compose-in-uikit/README.md index 7fe01c008da..7951ace6667 100644 --- a/examples/interop/ios-compose-in-uikit/README.md +++ b/examples/interop/ios-compose-in-uikit/README.md @@ -1,5 +1,5 @@ -# Compose in UIKit +# Compose Multiplatform in UIKit -This example shows how you can set up an interop between Compose and iOS UIKit UIViewController. +This example shows how you can set up an interop between Compose Multiplatform and iOS UIKit UIViewController. ![screenshot.png](screenshot.png) diff --git a/examples/interop/ios-compose-in-uikit/iosApp/iosApp/AppDelegate.swift b/examples/interop/ios-compose-in-uikit/iosApp/iosApp/AppDelegate.swift index f42b8982866..a45ca853e62 100644 --- a/examples/interop/ios-compose-in-uikit/iosApp/iosApp/AppDelegate.swift +++ b/examples/interop/ios-compose-in-uikit/iosApp/iosApp/AppDelegate.swift @@ -11,7 +11,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { UITabBarItem.appearance().setTitleTextAttributes([NSAttributedString.Key.font: UIFont.systemFont(ofSize: 15)], for: .normal) let composeViewController = Main_iosKt.ComposeEntryPoint() - composeViewController.title = "Compose inside UIKit" + composeViewController.title = "Compose Multiplatform inside UIKit" let anotherViewController = UIKitViewController() anotherViewController.title = "UIKit" diff --git a/examples/interop/ios-compose-in-uikit/screenshot.png b/examples/interop/ios-compose-in-uikit/screenshot.png index 1079915127f..49eca47a742 100644 Binary files a/examples/interop/ios-compose-in-uikit/screenshot.png and b/examples/interop/ios-compose-in-uikit/screenshot.png differ diff --git a/examples/interop/ios-swiftui-in-compose/README.md b/examples/interop/ios-swiftui-in-compose/README.md index a32c16e04e1..d9fd8fcf59a 100644 --- a/examples/interop/ios-swiftui-in-compose/README.md +++ b/examples/interop/ios-swiftui-in-compose/README.md @@ -1,6 +1,6 @@ -# SwiftUI in Compose +# SwiftUI in Compose Multiplatform -This example shows how to use a SwiftUI view in a Compose application. +This example shows how to use a SwiftUI view in a Compose Multiplatform application. Pay attention to file [main.ios.kt](shared%2Fsrc%2FiosMain%2Fkotlin%2Fmain.ios.kt) and [ComposeViewControllerRepresentable.swift](iosApp%2FiosApp%2FComposeViewControllerRepresentable.swift) ![screenshot.png](screenshot.png) diff --git a/examples/interop/ios-swiftui-in-compose/iosApp/iosApp/ComposeViewControllerRepresentable.swift b/examples/interop/ios-swiftui-in-compose/iosApp/iosApp/ComposeViewControllerRepresentable.swift index 401d7663c23..05ec00cba7f 100644 --- a/examples/interop/ios-swiftui-in-compose/iosApp/iosApp/ComposeViewControllerRepresentable.swift +++ b/examples/interop/ios-swiftui-in-compose/iosApp/iosApp/ComposeViewControllerRepresentable.swift @@ -8,7 +8,7 @@ struct ComposeViewControllerRepresentable: UIViewControllerRepresentable { return Main_iosKt.ComposeEntryPointWithUIView(createUIView: { () -> UIView in SwiftUIInUIView( content: VStack { - Text("SwiftUI in Compose") + Text("SwiftUI in Compose Multiplatform") } ) }) diff --git a/examples/interop/ios-swiftui-in-compose/screenshot.png b/examples/interop/ios-swiftui-in-compose/screenshot.png index 26c098e3bb1..7a56079c9e2 100644 Binary files a/examples/interop/ios-swiftui-in-compose/screenshot.png and b/examples/interop/ios-swiftui-in-compose/screenshot.png differ diff --git a/examples/interop/ios-swiftui-in-compose/shared/src/iosMain/kotlin/main.ios.kt b/examples/interop/ios-swiftui-in-compose/shared/src/iosMain/kotlin/main.ios.kt index 581c7d29897..7486a6ec345 100644 --- a/examples/interop/ios-swiftui-in-compose/shared/src/iosMain/kotlin/main.ios.kt +++ b/examples/interop/ios-swiftui-in-compose/shared/src/iosMain/kotlin/main.ios.kt @@ -20,7 +20,7 @@ fun ComposeEntryPointWithUIView(createUIView: () -> UIView): UIViewController = .windowInsetsPadding(WindowInsets.systemBars), horizontalAlignment = Alignment.CenterHorizontally ) { - Text("How to use SwiftUI inside Compose") + Text("How to use SwiftUI inside Compose Multiplatform") UIKitView( factory = createUIView, modifier = Modifier.size(300.dp).border(2.dp, Color.Blue), diff --git a/examples/interop/ios-uikit-in-compose/README.md b/examples/interop/ios-uikit-in-compose/README.md index 8aff94cd63d..72f2206fa89 100644 --- a/examples/interop/ios-uikit-in-compose/README.md +++ b/examples/interop/ios-uikit-in-compose/README.md @@ -1,6 +1,6 @@ -# UIKit in Compose +# UIKit in Compose Multiplatform -This example shows how to use a UIKitView in a Compose application. +This example shows how to use a UIKitView in a Compose Multiplatform application. Pay attention to file [main.ios.kt](shared%2Fsrc%2FiosMain%2Fkotlin%2Fmain.ios.kt) ![screenshot.png](screenshot.png) diff --git a/examples/interop/ios-uikit-in-compose/screenshot.png b/examples/interop/ios-uikit-in-compose/screenshot.png index 6117ffac115..f738f54b154 100644 Binary files a/examples/interop/ios-uikit-in-compose/screenshot.png and b/examples/interop/ios-uikit-in-compose/screenshot.png differ diff --git a/examples/interop/ios-uikit-in-compose/shared/src/iosMain/kotlin/main.ios.kt b/examples/interop/ios-uikit-in-compose/shared/src/iosMain/kotlin/main.ios.kt index f9f0d844ed8..aa2ff4b7ebc 100644 --- a/examples/interop/ios-uikit-in-compose/shared/src/iosMain/kotlin/main.ios.kt +++ b/examples/interop/ios-uikit-in-compose/shared/src/iosMain/kotlin/main.ios.kt @@ -21,7 +21,7 @@ fun ComposeEntryPoint(): UIViewController = .windowInsetsPadding(WindowInsets.systemBars), horizontalAlignment = Alignment.CenterHorizontally ) { - Text("How to use UIKitView inside Compose") + Text("How to use UIKitView inside Compose Multiplatform") UIKitView( factory = { MKMapView() },