Join Slack
Powered by
Exposing `Result<T>` is exposed to Swift as ...
# multiplatform
j
Jagtej Sodhi
03/22/2024, 6:18 AM
Exposing
Result<T>
is exposed to Swift as
Any?
, understandably so. Wondering if anyone have a suggested alternative they've been using.
a
Alexander Zhirkevich
03/22/2024, 7:53 AM
Inline classes are not properly exposed to obj c.
https://kotlinlang.org/docs/native-objc-interop.html#unsupported
. You can make the same non-value class for representing result
2
Views
Open in Slack
Previous
Next