Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · 9 Results

Contained in: Kotlin Multiplatform by Tutorials swift ui
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Creating Your KMP Library

…book, you learned how to create three apps targeting Android, iOS and desktop! You started this journey by getting familiar with Jetpack Compose and Swift UI for UI development and moved toward sharing your app’s business logic across these three platforms with Kotlin Multiplatform. You can now create…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Introduction

…projects. iOS developers are familiar with Swift, and Kotlin is very similar — so the learning curve should be minimal. Developers still use Swift on the UI side, but they can also work and help out with business logic in Kotlin. Since there will still be a lot of iOS development…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Appendix A: Kotlin: A Primer for Swift Developers

In this chapter, you'll learn about several functionalities of Kotlin and their comparison with Swift.
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Networking

…different areas of articles you have at Kodeco: all, Android, iOS, Flutter, Server-Side Swift, Game Tech and Professional Growth. You use this to give the functionality to the UI to filter for specific types if required. result holds the HttpResponse that’s returned from fetchKodecoEntry. The parameter sent here…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Concurrency

…article image link") } } } Since you’re now accessing a suspend function from Swift, you’ll have to use await to wait for the result to be available. The @MainActor annotation guarantees the Task runs on the UI thread. Otherwise, you might have a InvalidMutabilityException. Now, remove the onNewImageUrlAvailable from…
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…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Serialization

…library or component as you typically do: components: generic Composable functions that are used in different screens. ui: contains all the UI. The sub packages correspond to specific screens (bookmark, home, latest or search), the navigation bar (main), or the application design system (theme). utils: utility class to format…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

Connecting to Platform-Specific API

…newly introduced frameworks such as AppIntents as they’re Swift-only. Furthermore, you can’t use Swift-only extension functions or properties — or even Swift enum cases — either. You have no choice other than to use the verbose naming of entities in Objective-C. Implementing Platform on Desktop Open Platform.kt…
Android & Kotlin

Chapter in Kotlin Multiplatform by Tutorials

App Architecture

…following: AboutListView( items: [AboutViewModel.RowItem(title: "Title", subtitle: "Subtitle")] ) In the code above, you are using a hardcoded row item to fix the UI preview inside Xcode. Go back to AboutView.swift and pass the needed parameter to AboutListView: AboutListView(items: viewModel.items) Build and run to see the result of the refactoring…