-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Feature/#8 week04] 4차과제 #9
Conversation
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.
깔끔하게 딱 쓸 코드만 넣는거 멋있어요.
오늘도 많이 배워갑니다 혜수 선배 🐧
init(from decoder: Decoder) throws { | ||
let values = try decoder.container(keyedBy: CodingKeys.self) | ||
message = (try? values.decode(String.self, forKey: .message)) ?? "" | ||
success = (try? values.decode(Bool.self, forKey: .success)) ?? nil | ||
data = (try? values.decode(T.self, forKey: .data)) ?? nil | ||
status = (try? values.decode(Int.self, forKey: .status)) ?? 0 | ||
} |
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.
와웅 대박 멋있어.
|
||
import Alamofire | ||
|
||
enum UserRouter: URLRequestConvertible { |
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.
우왕 URLRequestConvertible
배워갑니다~~ ! 💝
🌱 작업한 내용
기본과제 - 로그인, 회원가입 연결
🌱 PR Point
📸 스크린샷
📮 관련 이슈