I can’t get `export` to work for my project ¯\_(ツ)...
# reaktive
s
I can’t get
export
to work for my project ¯\_(ツ)_/¯
a
I never exported an external dependency, only own modules. Maybe you could ask a question in #multiplatform ? Personally I would try to keep Reaktive as implementation details, and hide everything behind a facade.
s
Abstracting them makes sense.
a
Did you manage this to work? Having the same problem currently with an own module. Some classes are not exported.
s
Yep. I consume them as
ObservableWrapper
and convert to
Combine.Publisher
here: https://github.com/saket/press/blob/master/native/mac/mac/Interop/ReaktiveInterop.swift
Btw, we should totally offer this interop as a swift library for reaktive users.
a
I mean the issue that some classes are not exported to Swift, even the module is specified as API and is exported.
I agree about the interop, but I don't have any experience with publishing Swift libs. I will ask my colleagues. If you feel you could handle this then contributions are welcome. I even not sure can it be the same repository or not.
s
I mean the issue that some classes are not exported to Swift, even the module is specified as API and is exported.
Ah okay. Maybe ask in #multiplatform?
I agree about the interop, but I don’t have any experience with publishing Swift libs. I will ask my colleagues. If you feel you could handle this then contributions are welcome. I even not sure can it be the same repository or not.
Sure thing! I can contribute to the interop part, but I’m not good with Swift either so you’ll have to help me out by setting up the project.
a
Ok, this will take a while to prepare for the Swift interop. Thanks!