Hi! I added RxCommon to my multiplatform setup, I ...
# multiplatform
s
Hi! I added RxCommon to my multiplatform setup, I want to create an observer inside my swift code to be able to be notified when changes. The class
Observer
is defined inside RxCommon which is linked in the
sourceCommon
source set. If I try to instanciate an Observer, XCode doesn’t find this class. How is it possible to access classes inside external libraries from the Swift code? I can do this inside one of my Android app’s Activity. Thanks!
see Exporting dependencies in frameworks
s
Great, thanks! I’ll have a look
I did follow everything for Exporting dependencies in frameworks but I can only access interface and abstract classes. Most of the classes defined in the library aren’t accessible in my Swift code. Does that ring a bell for you?
k
are they public?
s
Yes, everything is public
k
that is odd, then
s
I’ll post a new message asking about this, thanks 🙂