-
Notifications
You must be signed in to change notification settings - Fork 0
Setting [#1] 와블 초기세팅 #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
Conversation
boogios
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.
P3
세팅 너무 고생많으셨습니다~!! 와블 버튼이랑 모야 통신 코드 짱이네요!!!! 잘 활용해서 써보겠습니다 :)
| private var title: String | ||
| override var isEnabled: Bool { | ||
| didSet { | ||
| setButtonState(as: isEnabled) |
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.
P3
didSet 사용해서 버튼 상태 변화 관리하는거 좋네요~!!
| self.setTitle(self.title, for: .normal) | ||
|
|
||
| switch type { | ||
| case .nameCheck: |
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.
P3
이렇게 한번에 관리할 수 있군요!! 좋습니다!!!
| } | ||
| } | ||
|
|
||
| private func setButtonState(as isEnabled: Bool) { |
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.
P3
좋은 코드 감사합니다!!! 잘 활용해보겠습니다 :) 짱짱
| } | ||
|
|
||
|
|
||
| public func disposeNetwork<T: Codable>(_ result: Result<Response, MoyaError>, |
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.
P3
모야 통신 코드 확인했습니다!!! API 명세서 나오면 같이 더 디벨롭해봅시다~!!
💡PR POINT
WableButton)WableButton
아래의 디자인시스템 버튼을 구현했습니다


주의사항
WableButton 사용법
[init 파라미터 설명]
WableButton은 두개의 파라미터를 필요로 합니다
ButtonStatustitle[WableButton의 Status]