Coordinator 패턴 적용 방법 #7
nomatterjun
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
homeViewController.reactor = homeReactor
읽어보고 의견남겨줘! |
Beta Was this translation helpful? Give feedback.
2 replies
-
논의 내용 da1efae 에서 적용 완료! 👍👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🙋 논제
Coordinator에서 ViewController에 reactor를 주입할 수 있도록 생성자를 만들어 구현하였습니다.
이 방법이 괜찮은지 아래 커밋 기록 한번 리뷰 부탁드려요!
8146958
Favor-iOS/Favor/Favor/Sources/Scenes/Home/ViewControllers/HomeVC.swift
Lines 22 to 29 in 66f436c
Favor-iOS/Favor/Favor/Sources/Scenes/Home/Coordinator/HomeCoordinator.swift
Lines 18 to 22 in 66f436c
📝 참고
해당 커밋 구현 내역
start()
메서드에서 필요한 데이터들을 주입하면서 초기화(Init
)Beta Was this translation helpful? Give feedback.
All reactions