-
Notifications
You must be signed in to change notification settings - Fork 0
[Refactor] #125 - DeletePopup MVVM 패턴 적용 #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Guryss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고했서용 ! 정말 잘한당 ㅋㅋ
| let deleteButtonDidTapEvent: Observable<Void> | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W1;
줄 없애라능
Naknakk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생했습니다!-! 이전 코리 내용 같이 고려해보면 될 것 같아요!! 팝업이라 이전 뷰 내용 가져오기도 애매하구 뷰모델이 많아질 수 밖에 없어서 아쉬우네요 .,. 애매했을텐데 고생했습니당!-!
ena-isme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다!
| .flatMapLatest { | ||
| self.deleteUserNovel() | ||
| } | ||
| .subscribe(with: self, onNext: { owner, _ in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W3
self 사용하는 부분이 없어서 owner 로 작성안해도 될 것 같기는 해요~!
⭐️Issue
#125
🌟Motivation
DeletePopupViewController에 MVVM 패턴을 적용했습니다.
🌟Key Changes
🌟Simulation
없어용가리
🌟To Reviewer
popupStatus도 viewModel이 들고 있는게 맞다는 생각이 들지만,, 뷰컨에서 rootView 초기화시 popupStatus가 필요해 일단 뷰컨에서 들고 있도록 구현했쌉다 🤓