Skip to content

week2_QQ#17

Open
junyear wants to merge 5 commits intomainfrom
QQ
Open

week2_QQ#17
junyear wants to merge 5 commits intomainfrom
QQ

Conversation

@junyear
Copy link
Copy Markdown
Contributor

@junyear junyear commented Mar 28, 2026

📂 관련 이슈

  • closes #[이슈 번호]
    week2_QQ

🛠️ 작업 사항

  • [ ]
  • [ ]

📸 관련 이미지 (스크린샷 또는 동영상)


💬 기타 설명

💡 추가적으로 공유할 내용이나 리뷰어에게 전달할 사항이 있다면 작성해 주세요.

Copy link
Copy Markdown
Contributor

@guingguing guingguing left a comment

Choose a reason for hiding this comment

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

큐큐 2주차 과제 피드백

Comment on lines +72 to +73
userId = viewModel.loginModel.id
userPwd = viewModel.loginModel.pwd
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

티모의 꿀팁

@AppStorage에 값이 실제로 잘 들어갔는지 확신이 서지 않을 때는, 로그인 버튼의 action 클로저 안에 아래와 같은 print 문을 추가해서 콘솔(Console)창으로 직접 확인해보는 것도 좋은 방법입니다!

// 데이터가 잘 저장되었는지 콘솔에서 확인 가능
print("저장된 아이디: \(savedId), 비밀번호: \(savedPwd)")

이렇게 하면 앱을 실행하면서 실시간으로 데이터 변화를 체크할 수 있어 디버깅이 훨씬 수월해집니다.

Comment on lines +50 to +59
Button(action: {
print("버튼 클릭함")
}, label:{
Text("회원정보")
.font(.semiBold14)
.foregroundStyle(Color.white)
.frame(width: 72, height: 28)
.background(Color.gray07)
.clipShape(RoundedRectangle(cornerRadius: 16))
})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

현재 ProfileInfoView의 userInfoSection 코드를 보면, '회원정보' 버튼이 단순히 print문만 실행하도록 되어 있습니다. ProfileEditView로 화면 전환을 하기 위해 NavigationLink를 사용해주세요.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants