-
Notifications
You must be signed in to change notification settings - Fork 2
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
일기 작성 흐름 중 음악 검색 부분 작성 #165
Conversation
switch $0 { | ||
case .success(let shazamSongDTO): | ||
let musicInfo = MusicInfo(shazamSong: shazamSongDTO) | ||
self.musicInfoResult.onNext(.success(musicInfo)) |
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.
이런 식으로 전달하는 게 최선이지 싶습니다,, 더 좋은 방법을 저도 못떠올리겟네요ㅠ
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.
이번주의 주제로 삼아 볼까 싶기도 합니다.. ㅋㅋㅋㅋ
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.
고생하셨습니다. 이런 식으로 Subject 등을 이용해서 각 계층에 전달해주는 방법 밖에는 생각이 저도 안나네요..ㅠ
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.
고민하신 부분은.. 제 생각도 delegate 메서드라 어쩔 수 없을거 같긴 합니다.. ㅠㅠ
수고하셨습니다!
@@ -102,7 +102,7 @@ final class LoginViewController: UIViewController { | |||
let view = UIView() | |||
|
|||
view.backgroundColor = .clear | |||
|
|||
view.isUserInteractionEnabled = false |
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.
정녕 이거때문이였다니... 충격...
12/6 #141 #156 #158
작업한 내용
음악 검색 흐름을 변경했습니다. ShazamSession을 Repository에서 가지고 있도록 변경했습니다.
덤 : 로그인 로직 시도해봤습니다. 잘 됩니다..?!
일기 작성 뷰 컨트롤러, 샤잠세션도 정리했습니다.
고민한 점 및 어려웠던 점
PublishSubject 프로퍼티의 연쇄로 값을 전달해야 하나 고민했습니다.