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: 유저 프로필 화면 구성 #69

Merged
merged 3 commits into from
Nov 23, 2023
Merged

feat: 유저 프로필 화면 구성 #69

merged 3 commits into from
Nov 23, 2023

Conversation

anyukyung
Copy link
Member

@anyukyung anyukyung commented Nov 22, 2023

🧑‍🚀 PR 요약

해당 pr에서 작업한 내역을 적어주세요.

  • 유저 프로필 화면 구성
  • compositional layout으로 프로필은 컬렉션뷰 헤더, 썸네일 부분은 셀로 구현했습니다.
  • enum으로 profiletype을 구분해 내 프로필인 경우와 다른 유저 프로필인 경우 재사용할 수 있도록 구현했습니다.

📌 변경 사항

변경사항 및 주의 사항 (모듈 설치 등)을 적어주세요.

📸 ScreenShot

작동, 구현화면

내 프로필 다른 유저 프로필 (여기서 탭바 없어짐)
Simulator Screenshot - iPhone 15 - 2023-11-22 at 22 14 47 Simulator Screenshot - iPhone 15 - 2023-11-22 at 22 15 24

Linked Issue

close #55

Copy link
Collaborator

@chopmozzi chopmozzi left a comment

Choose a reason for hiding this comment

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

고생하셨습니다. 중간중간 타입 선언이나 프로토콜 extension 안 뺀 부분들이 보이는데 이 부분은 맞춰가면 좋겠어요


override func viewDidLoad() {
super.viewDidLoad()
setNavigationBar()
Copy link
Collaborator

Choose a reason for hiding this comment

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

navibar는 viewWillAppear시점에 하는게 낫지 않나요?

Copy link
Member Author

Choose a reason for hiding this comment

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

지금 상황에서 viewDidLoad에서 호출해줬을때 안좋은 점이나 문제될 만한게 떠오르지 않는데
어떤 점에서 더 좋을지 알려주실 수 있을까요 !

Comment on lines +19 to +22
enum ProfileType {
case own
case other
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

enum 타입으로 구분을 잘해주셨네요👍

clipsToBounds = true
}

private func setConstraints() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

이 메서드를 호출하는 곳이 없습니다?!

Copy link
Member Author

Choose a reason for hiding this comment

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

view 백그라운드 색상을 바꿔버렸더니, 구분이 안돼서 깜빡하고 호출을 안했네여 수정하겠습니다 !!!

Copy link
Collaborator

@loinsir loinsir left a comment

Choose a reason for hiding this comment

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

오늘도 ~ 고생하셨습니다~
코멘트 부분만 확인해주셔요

@anyukyung anyukyung merged commit 2c7aa6d into iOS/dev Nov 23, 2023
1 check passed
@anyukyung anyukyung deleted the iOS/feat#55 branch November 23, 2023 13:30
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.

3 participants