Post

Replies

Boosts

Views

Activity

Reply to Swift files in Bundle
@Polyphonic You said "you generally need to create a module", I believe you are asking to create a framework or SPM or static library. If not, then how to create the module . I tried creating framework/target/SPM but facing compilation errors due to dependency. I have a framework with 50+ classes and I want to move 4 files outside of this project. Let's say, I have to move Class A,B, C and D out side of the framework. These 4 classes are accesing other few classes from the main framework and more main framework is accessing Class A,B,C and D. So getting compilation error. I want some sort of container(other than folder) to keep those 4 files separate locally and access them in the main framework.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’22
Reply to Swift files in Bundle
Thanks @polyphonic. A, B, C and D in framework Y is dependent on framework X and vice versa. That’s why l am looking for some kind of container instead of a framework to separate those files from framework X. I tried moving those files in .bundle but it didn’t work either.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’22