Soo … here’s something I’ve noticed anecdotally …
My
allShared
module has a dependency on another module called
adw-program
.
adw-program
defines a class, called
Program
.
allShared
defines a class called
IosContainer
.
IosContainer
has a function,
getProgram()
that returns an instance of
Program
.
in my
allShared
module, if i use
implementation
for the
adw-program
dependency, and don’t export it via the cocoapods framework, then in my swift code, the
Program
class’s type is actually
Adw_programProgram
… Also, any of the other classes in my
adw-program
module are NOT available at all in my ios/swift project. the
Adw_programProgram
class is available only because the
IosContainer
has a method that returns an instance of it.
However, if I make the
adw-program
an
api()
dependency (and export it via cocoapods), then things in Swift are more “what you would expect”. I have a
Program
class, and I can see all of the (public) classes declared in
adw-program
.