1. 프로퍼티를 이용해서 서로 data 주고받기(A->B)
2. 세그를 이용해서 서로 data 주고받기(스토리보드에서)
3. 프로퍼티와 함수를 이용해서 data 받기(A<-B)
4. delegation 이용해서 data 받기
5. closure 이용해서 data 받기
6. NotificationCenter와 Observer pattern을 이용해서 서로 data 주고받기
'iOS 🍎 > iOS' 카테고리의 다른 글
RxSwift (0) | 2021.05.18 |
---|---|
RxSwift : 들어가기에 앞서 (0) | 2021.05.16 |
Managing iOS App's Life Cycle (0) | 2021.02.24 |
Responding to the Launch of Your App (0) | 2021.02.24 |
MVC, MVP, MVVM Pattern (0) | 2021.02.17 |