Conversation
guingguing
reviewed
Mar 31, 2026
Comment on lines
+72
to
+73
| userId = viewModel.loginModel.id | ||
| userPwd = viewModel.loginModel.pwd |
Contributor
There was a problem hiding this comment.
티모의 꿀팁
@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)) | ||
| }) |
Contributor
There was a problem hiding this comment.
현재 ProfileInfoView의 userInfoSection 코드를 보면, '회원정보' 버튼이 단순히 print문만 실행하도록 되어 있습니다. ProfileEditView로 화면 전환을 하기 위해 NavigationLink를 사용해주세요.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📂 관련 이슈
week2_QQ
🛠️ 작업 사항
📸 관련 이미지 (스크린샷 또는 동영상)
💬 기타 설명