Skip to content
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

[FEAT] iOS 4차 과제 #13

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

[FEAT] iOS 4차 과제 #13

wants to merge 10 commits into from

Conversation

inuinseoul
Copy link
Contributor

🌱 작업한 내용

  • 기본과제 수행

🌱 PR Point

  • 어쩌다보니 기본과제밖에 수행하지 못했네요...
  • 다음주에 보충해놓겠습니다!!! 감사합니다!!!!

📸 스크린샷

구현 내용 스크린샷
기본과제 Simulator Screen Recording - iPhone 13 Pro Max - 2022-05-15 at 22 01 24

📮 관련 이슈

Copy link

@88yhtserof 88yhtserof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4차 과제도 수고하셨어요!! 보충될 코드들도 기대할게요🤗


struct LoginResponse: Codable {
let status: Int
let success: Bool?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

성공, 실패 둘 다 success값이 전달되던데, 혹시 success 파라미터를 옵셔널로 선언한 이유가 따로 있나요??🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

음.. 그러게요? 이유는 딱히 없고 실수인거 같습니다ㅠ
이번과제도 실수 만땅이네요 🥲 지적 감사합니다!!

@@ -55,6 +55,8 @@ final class SignUpPasswordViewModel {
signUpUseCase.signUpError
.subscribe(onNext: { error in
switch error {
case .alreadyExist:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

에러를 따로 처리하셨군요!! 👍🏻

Copy link
Member

@yujindonut yujindonut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

보충된 과제가 벌써 기대가 되네요!!!!!🔥
정말 잘하시네요 !!!!! 고생하셨습니다 인우님!!!!

@@ -11,28 +11,46 @@ import RxRelay
enum LoginError: Error {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이렇게 케이스마다 에러를 보기쉽게 나눌수도 있군요!!!!😮

.map { URL(string: $0)! }
.map {
var request = URLRequest(url: $0)
request.httpMethod = "POST"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rx .. 멋있습니다 ..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 아직 어렵지만... 열심히해보고 있슴당..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] iOS 4차 과제
3 participants