-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] 스플래시 및 로그인 UI 구현 #125
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
JinUng41
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.
고생하셨습니다! 👍
| private lazy var kakaoButtonHandler: UIActionHandler = { _ in | ||
| // TODO: 카카오 로그인 기능 구현 필요 | ||
| } | ||
|
|
||
| private lazy var appleButtonHandler: UIActionHandler = { _ in | ||
| // TODO: 애플 로그인 기능 구현 필요 | ||
|
|
||
| let noticeViewController = WableActionSheetViewController( | ||
| configuraton: .init( | ||
| title: "앗 잠깐!", | ||
| message: "와블은 온화하면서도 유쾌한 LCK 팬들이 모여 함께 즐기는 공간이에요.\n더 건강하고 즐거운 커뮤니티를 만들어 나가는데 함께 노력해주실거죠?", | ||
| confirmButtonTitle: "확인", | ||
| confirmAction: { completion in | ||
| // TODO: 온보딩 화면으로 전환 필요 | ||
| } | ||
| ) | ||
| ) | ||
|
|
||
| self.present(noticeViewController, animated: true) | ||
| } |
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.
UIActionHandler 프로퍼티를 ViewController가 계속 가지고 있어야 하는가 라는 관점에서 바라볼 때, 저는 아니라고 판단됩니다.
버튼에서 등록되기만 하면 되서 스택 영역에서 (함수 내) 선언되고 등록되기만 하면 될 것 같아요.
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.
UIAction 정도의 볼륨으로(클로저를 이용해) 구현할 수준이 아닌 것 같아 분리했는데 그러면 addTarget을 이용하는 게 조금 더 나은 것 같아 반영했습니다 !! 좋은 의견 감사합니다 ~!!!
👻 PULL REQUEST
📄 작업 내용
👀 기타 더 이야기해볼 점
WableActionSheetViewController에서confirmAction을 설정했을 때 온보딩 화면으로 전환이 안되는 이슈가 있는데 리뷰하실 때 같이 설명해주시면 좋을 것 같아요! 해당 이슈는 온보딩 화면 구현할 때 연결해서 해결하도록 하겠습니다.🔗 연결된 이슈