Exposing an actor to Objective-C with @objc #69
Unanswered
rogiervandepol
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@rogiervandepol I'm honestly not sure, I lack experience with Objective-C and Swift Concurrency. I did find this thread that discussed the topic: https://forums.swift.org/t/need-help-with-swift-concurrency-and-obj-c-interoperability/74910/14 Does that help? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! It's possible to mark an actor with @objc to make it available to the Obj-C runtime. Are there any downsides or consequences when doing this with respect to Swift Concurrency? In our project, we have most of our business logic in a shared Kotlin Multiplatform library. I need to inject my actor into this KMP library, which requires me to mark it with @objc.
Beta Was this translation helpful? Give feedback.
All reactions