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: 개인정보 및 약관 동의 페이지 디자인 수정 #105

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

syhwang1231
Copy link
Collaborator

@syhwang1231 syhwang1231 commented Nov 13, 2024

💌 작업한 내용

  • 개인정보 및 약관 동의 페이지 ui 수정
  • '전체 동의'버튼 구현
  • 현재 동의 상태에 따른 '다음'버튼 활성화/비활성화

💭 PR POINT

📷 스크린샷

구현 내용 스크린샷
전체 동의 버튼, 다음 버튼 활성화

💐 관련 이슈

@syhwang1231 syhwang1231 added the ✨ feat 새로운 기능 label Nov 13, 2024
@syhwang1231 syhwang1231 self-assigned this Nov 13, 2024
@syhwang1231 syhwang1231 added the 🍀 수연 저에여 label Nov 13, 2024
Comment on lines +189 to +198
private func setupPochakLogoImageView() {
view.addSubview(pochakLetterLogoImageView)

pochakLetterLogoImageView.translatesAutoresizingMaskIntoConstraints = false

NSLayoutConstraint.activate([
pochakLetterLogoImageView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: 44),
pochakLetterLogoImageView.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor, constant: 20),
])
}
Copy link
Contributor

Choose a reason for hiding this comment

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

뷰마다 함수로 나눈 것은 좋은 시도 같아요!
하지만 레이아웃 관련된 코드를 한 곳에 모아두는 것이 코드 상에서 뷰의 구조를 한 번에 파악하기에 더 좋을 것 같다는 생각이 듭니다!

ex.

private func addSubViews() {
        view.addSubview(pochakLetterLogoImageView)
        view.addSubview(guideLabel)
//...
}

private func setfupLayout() {
        NSLayoutConstraint.activate([
            pochakLetterLogoImageView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: 44),
            pochakLetterLogoImageView.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor, constant: 20),
        ])

NSLayoutConstraint.activate([
            guideLabel.leadingAnchor.constraint(equalTo: pochakLetterLogoImageView.leadingAnchor),
            guideLabel.topAnchor.constraint(equalTo: pochakLetterLogoImageView.bottomAnchor, constant: 8),

        ])
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feat 새로운 기능 🍀 수연 저에여
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 개인정보 및 약관 동의 페이지 디자인 수정
2 participants