Is there any rhyme or reason to when inline classes are mapped to their underlying type in objective-c versus being mapped to id?
For context, we’re trying to use an inline class as a non-null property in another DTO
This line in the interop doc seems to suggest it’s at least sometimes possible to represent as the underlying type
• inline classes (arguments are mapped as either underlying primitive type or
id
)
However, any implementation I’ve tried seems to result in a type of
id
being exposed in the XCFramework
p
Paul Woitaschek
09/09/2022, 4:12 AM
I think it was somehow related to generics.
Paul Woitaschek
09/09/2022, 4:13 AM
Our guidelines prohibit the usages of value classes in public API