SPM을 통한 패키지 분리 이외에 모듈화를 할 수 있는 좋은 방법이 있을까요? #13
-
안녕하세요. 슈퍼앱 강의 잘 들었습니다. 모듈화를 할 때 패키지 단위(SPM)로 분리하는 것 이외에 다른 좋은 방법이 있을까요? 이런 경우 폴더를 나누거나 접근제어 잘 사용하는것 이외에 다른 방법으로 계층을 나누거나 의존성을 분리할 수 있는 방법이 있을까요?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
안녕하세요. |
Beta Was this translation helpful? Give feedback.
안녕하세요.
SPM은 단지 모듈들을 관리하는 툴입니다. 게다가 비교적 최신에 등장한 툴이고요.
SPM에서 관리할 수 없는 경우라면 Xcode Project에서 프레임워크/라이브러리 타겟을 추가하는 전통적인 방법으로 모듈을 만들어서 모듈화를 하시면 됩니다.