Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · 10 Results

Contained in: Kotlin Multiplatform by Tutorials swiftui
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Developing UI: iOS SwiftUI

SwiftUI is the modern way to program UI for iOS applications. In this chapter, you'll learn how to develop the UI for iOS using the SwiftUI framework…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

App Architecture

…applications. In the mobile world, Apple made MVC mainstream when it introduced the iPhone SDK in 2008. If you did iOS development before SwiftUI, you may have noticed that one of the base components was a UIViewController. It speaks for itself how Apple heavily invested in this pattern. For long…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Introduction

Android, you can write it in native code or use the newer Jetpack Compose UI framework. For iOS, you can use UIKit, the newer SwiftUI framework, or the Beta version of Compose Multiplatform. For the desktop, you can use Desktop Compose or Java Swing. In other words, you have…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Connecting to Platform-Specific API

…look if you’d like. Open AboutView.swift and replace the line where it has Text("Hello World") with this: AboutListView() Next, create a new SwiftUI view file called AboutListView by pressing Command-N. Fig. 6.9 — Xcode new file dialog First, import the Shared module at the top of the file…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Creating Your KMP Library

Kotlin Multiplatform master, you might be wondering what to read next. Perhaps you want to dive deeper into Jetpack Compose and SwiftUI? Or, do you prefer to sit back and watch a video course instead? You can see the Jetpack Compose and Your Second iOS & SwiftUI app that teach…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Developing UI: Android Jetpack Compose

…learn about writing the UI for Android with Jetpack Compose. In the next chapter, you’ll learn about building the UI for iOS using SwiftUI, which also works on macOS. Note: You can use Compose to build UI for iOS as well but this book will focus on using SwiftUI
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Appendix C: Sharing Your Compose UI Across Multiple Platforms

…with different platforms: Android, iOS and desktop. Now that you’ve mastered KMP, perhaps you’re interested in learning more about Jetpack Compose and SwiftUI. These books are the perfect starting point…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Testing

…tests, you consult each platform’s provided solution: Compose Tests for UIs created with Jetpack Compose and XCUITest for UIs created with UIKit or SwiftUI. Where to Go From Here? This chapter barely scratched the surface of testing. It didn’t discuss mocks and stubs, and it tried…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Conclusion

…your understanding of Kotlin and Android app development after working through Kotlin Multiplatform by Tutorials, we suggest you read Jetpack Compose by Tutorials and SwiftUI Apprentice. Both are available in our online store: https://www.kodeco.com/books/jetpack-compose-by-tutorials https://www.kodeco.com/books/swiftui-apprentice If you have any questions or comments as you work through…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Introduction

…share code across native apps. You can continue to develop the UI layer using native UI toolkits like Jetpack Compose for Android and SwiftUI for iOS. In this section, you’ll learn how to add a new Gradle module to write your business logic only once. You’ll also learn…