Skip to content

Conversation

@cirtuare
Copy link
Contributor

@cirtuare cirtuare commented Jun 2, 2025

🐿️ Pull Requests

🪵 작업 브랜치

🥔 작업 내용

2.0 설정 UI 작업 및 작은 작업들 진행했습니다.

[ 2.0 설정 UI 작업 ]

  • 설정화면 UI 변경
  • 취향탐색 다시하기를 위한 온보딩 FlowType 추가
  • 동네인증 편집화면 변경

[ 그 외 작업 ]

  • 자잘한 버그 수정
  • 앱아이콘 변경

🚨 참고 사항

📸 스크린샷

기능 스크린샷
아이폰 16 Pro

💥 To be sure

  • 모든 뷰가 잘 실행되는지 다시 한 번 체크해주세요 !

🌰 Resolve issue

@cirtuare cirtuare requested a review from yurim830 June 2, 2025 19:43
@cirtuare cirtuare self-assigned this Jun 2, 2025
@cirtuare cirtuare added 🌀 feature 새로운 기능 개발 🍓 수민 수민 labels Jun 2, 2025
Copy link
Collaborator

@yurim830 yurim830 left a comment

Choose a reason for hiding this comment

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

와우.. 변경사항이 많네요..!!! 고생하셨습니다!!! ♥


let glassmorphismView = GlassmorphismView(attributes.glassmorphismType)
let glassBorderView = GlassmorphismView(attributes.glassmorphismType)
glassBorderView.tag = 250603
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️ 🐿️ 🐿️ tag를 하드코딩하는 대신 안전하게 상수로 선언하면 어떨까요?
UIView+ 안에 private static let으로 선언할 수 있을 것 같습니다!

}
}

// 개별 업데이트는 데이터가 이미 로드된 후에만
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️ NOTE: 붙여주세요!

Comment on lines +36 to +37
override func setLayout() {
glassmorphismView.snp.makeConstraints {
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️ super.setLayout()은 의도적으로 생략하신걸까요?

Comment on lines +53 to +54
override func setStyle() {
self.do {
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️ 여기도 super.setStyle()은 의도적으로 생략하신걸까요?

titleLabel.setLabel(text: data.title, style: .s1)
func configure(with data: String) {
titleLabel.setLabel(text: data, style: .t4R)
if data == "서비스 탈퇴" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️🐿️ 나중에 텍스트가 바뀔 때를 대비해서 좀 더 안전하게
if data == SettingType.Account.withdrawal.title 이렇게 하면 어떨까요?

Comment on lines 87 to 99
$0.setLabel(text: "최신버전",
style: .s2,
color: .gray400,
style: .b1R,
color: .gray500,
alignment: .right)
}

updateLabel.do {
$0.isHidden = true
$0.setLabel(text: "업데이트하러 가기",
style: .s2,
color: .gray400,
style: .b1R,
color: .labelAction,
alignment: .right)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️ text는 StringLiterals로 설정해도 좋을 것 같습니다!

Comment on lines 95 to 119
extension VerifiedAreasCollectionViewCell {

func bindData(_ title: String, _ indexRow: Int) {
label.setLabel(text: title, style: .b1R)
self.setNeedsLayout()
self.layoutIfNeeded()
DispatchQueue.main.async {
self.glassmorphismView.refreshBlurEffect()
}
}

}

extension VerifiedAreasCollectionViewCell {

func setAddButton() {
[glassmorphismView, deleteButton].forEach {
$0.isHidden = true
}
label.setLabel(text: StringLiterals.Profile.addVerifiedArea,
style: .b1R,
color: .labelAction,
alignment: .center)
label.sizeToFit()

Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️ label.sizeToFit()bindData()에서는 안 해줘도 되나요?!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

alignment: .center로 지정해줘서 레이블 크기를 다시 계산해야 해 label.sizeToFit이 필요한 것 같은데, 미리 오토레이아웃으로 크기를 딱 맞게 지정해서 alignment 속성 지정이 필요 없는 것 같아요 !
setAddButton이 alignment 설정과 label.sizeToFit을 지웠습니다


// MARK: - Properties

private var flowType: OnboardingFlowType
Copy link
Collaborator

Choose a reason for hiding this comment

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

🐿️ 상수로 선언해도 될 것 같아요!

@cirtuare cirtuare merged commit 64684cb into develop Jun 3, 2025
@cirtuare cirtuare deleted the feature/#154 branch August 12, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌀 feature 새로운 기능 개발 🍓 수민 수민

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 2.0 설정 UI

3 participants