is it possible to create swift static or dynamic library or a framework without exposing the source code?
i am thinking of splitting the sources so that protocols are exposed (similar to how .h files are exposed in C / Obj-C) while the rest of the code is compiled (like .c / .m files compiled to .a or dylib or a framework). some bloat will appear as a result of those efforts (e.g. duplicating what was in the class to the protocol, etc). am i on the right track or is there a better approach?
ideally i do not want to involve Obj-C.