# Kotlin Coroutines and Swift, revisited - Russell Wolf

DevFeed: [Kotlin Coroutines and Swift, revisited - Russell Wolf](<https://devfeed.tech/articles/kotlin-coroutines-and-swift-revisited-russell-wolf-38261.md>)

Original publisher: [Read original article](<https://touchlab.co/kotlin-coroutines-swift-revisited>)

Published: 2021-05-28T18:42:45Z

Content type: tutorial

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [kotlin-coroutines](<https://devfeed.tech/topics/kotlin-coroutines.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [reactive](<https://devfeed.tech/topics/reactive.md>), [Framework](<https://devfeed.tech/topics/framework.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [article](<https://devfeed.tech/tags/article.md>), [class](<https://devfeed.tech/tags/class.md>), [classes](<https://devfeed.tech/tags/classes.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [error](<https://devfeed.tech/tags/error.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [internals](<https://devfeed.tech/tags/internals.md>), [interop](<https://devfeed.tech/tags/interop.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [reactive](<https://devfeed.tech/tags/reactive.md>), [stream](<https://devfeed.tech/tags/stream.md>), [suspend](<https://devfeed.tech/tags/suspend.md>), [swift](<https://devfeed.tech/tags/swift.md>)

## AI overview

Russell Wolf revisits patterns for exposing Kotlin coroutine-based repository code to iOS. The article recommends managing coroutine scope in Kotlin, adding a Swift wrapper to hide Kotlin implementation details, and adapting callback events for RxSwift and Combine.

## Source excerpt

An update on patterns for interop between Kotlin coroutines and RxSwift from Russell Wolf, engineer at Touchlab (Kotlin Multipaltform Mobile experts).