Skip to content

Feat [#373] 탈퇴 - '앱에 아는 친구가 없어서' 변경사항 반영 #374

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

Merged
merged 8 commits into from
Jun 10, 2024

Conversation

chaentopia
Copy link
Collaborator

⛏ 작업 내용

  • 추가된 기능으로 탈퇴사유 중 '앱에 아는 친구가 없어서' 선택 시 새로운 팝업이 뜨는 기능을 추가했습니다.
  • 노티피케이션과 클로저 사용했습니다.
  • 탭바에서 인덱스 4의 네비게이션 컨트롤러를 다 pop 해줘야 했는데, 해당 부분도 NotificationCenter에서 처리할 수 있도록 했습니다. 코드는 아래와 같이 작성했습니다.
    if let navigationController = self.viewControllers?[4] as? UINavigationController {
    navigationController.popToRootViewController(animated: false)
    }

📌 PR Point!

  • 빼먹은 플로우가 있을지.. 말고는 특별히 없습니다!

📸 스크린샷

구현 내용 스크린샷
se3 Simulator Screen Recording - iPhone SE (3rd generation) - 2024-06-07 at 23 36 51

✅ Issue

Resolved #373

@chaentopia chaentopia added feat🪄 기능 구현 style🎨 뷰 짜기 채은🎐 labels Jun 7, 2024
@chaentopia chaentopia requested review from Zoe0929 and Heyjooo June 7, 2024 14:43
@chaentopia chaentopia self-assigned this Jun 7, 2024
Copy link
Member

@Zoe0929 Zoe0929 left a comment

Choose a reason for hiding this comment

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

깔끔 코드 좋아요!
앰플리튜드 확인 한 번만 부탁드립니다~

Comment on lines 63 to 68
withdrawalNoFriendView.nextButtonAction = {
self.showAlert()
}
withdrawalNoFriendView.wowButtonAction = {
NotificationCenter.default.post(name: Notification.Name("moveToRecommend"), object: nil)
}
Copy link
Member

Choose a reason for hiding this comment

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

p3. 요 부분에 앰플리튜드 넣어야 할 것 같은데 추후 작업 예정인건지 궁금합니다!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

맞다.. 앰플리튜드 까먹었네요
얼른 할게요

@Zoe0929 Zoe0929 self-requested a review June 8, 2024 05:26
Copy link
Member

@Zoe0929 Zoe0929 left a comment

Choose a reason for hiding this comment

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

최고 !!!

Copy link
Contributor

@Heyjooo Heyjooo left a comment

Choose a reason for hiding this comment

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

수고하셨숩니다 ㅎ.ㅎ

Comment on lines +106 to +121
extension WithdrawalNoFriendView {
@objc private func closeView() {
self.isHidden = true
self.removeFromSuperview()
}

@objc private func nextButtonTapped() {
closeView()
nextButtonAction()
}

@objc private func wowButtonTapped() {
closeView()
wowButtonAction()
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

P5
앞으러 이런식으로 깔끔하게 작성해야겠네요 !-!

@chaentopia chaentopia merged commit d98a15f into develop Jun 10, 2024
@chaentopia chaentopia deleted the feat/#373-quitReasonFix branch June 10, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat🪄 기능 구현 style🎨 뷰 짜기 채은🎐
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feat] 탈퇴 뷰 - 앱에 아는 친구가 없어서 - UI 및 로직 추가
3 participants