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

[Baki/week9] Token(2) #69

Merged
merged 3 commits into from
Jun 19, 2024
Merged

[Baki/week9] Token(2) #69

merged 3 commits into from
Jun 19, 2024

Conversation

heemings
Copy link
Contributor

📍Summary

로그인, 회원가입 구현

💡PR Point

// 사용자 검증
        if let user = users.first(where: { $0.username == username && $0.password == password }) {
            isLoggedIn = true // 로그인 성공 시 SuccessView를 표시하기 위해 isLoggedIn을 true로 설정
        } else {
            alertMessage = "로그인 실패: 유효하지 않은 사용자 정보입니다."
            showAlert = true
        }

사용자 검증 부분

🤔 Question

단순 로그인, 회원가입 구현에서 api를 어떤 걸 사용해야 할지 모르겠어요

🔑 Simulator

Simulator Screen Recording - iPhone 15 Pro - 2024-06-19 at 15 42 15

@heemings heemings self-assigned this Jun 19, 2024
@jayn2u jayn2u added the ch9 label Jun 19, 2024
@jayn2u jayn2u added this to the iOS 스터디 milestone Jun 19, 2024
@jayn2u jayn2u merged commit 80f8c44 into main Jun 19, 2024
@jayn2u jayn2u deleted the baki/week9 branch June 19, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants