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 [#68] MyPageInfo 구현 #71

Merged
merged 3 commits into from
Jan 13, 2024
Merged

Feat [#68] MyPageInfo 구현 #71

merged 3 commits into from
Jan 13, 2024

Conversation

boyeon0119
Copy link
Contributor

👾 작업 내용

  • 이용약관과 개인정보처리방침 셀에 링크를 연결했습니다.

🚀 PR Point

링크 연결

  • url을 배열에 넣어 StringLiteral에 추가했습니다.
static var urlArray = ["https://hmhteam.notion.site/33acb29be57245f394eb93ddb2e3b8cc",
                               "https://www.notion.so/hmhteam/7006ac1eb36545c38ea2bdfc7e34d2cb?pvs=4"]
  • 셀에 동작을 추가했습니다.
// 링크 연결 코드
private func openWebLink(_ urlString: String) {
        if let url = URL(string: urlString) {
            UIApplication.shared.open(url, options: [:], completionHandler: nil)
        }
    }

// 셀에 터치 가능 기능 추가
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
        switch indexPath.section {
        case 2:
            if indexPath.item == 0 {
                openWebLink(StringLiteral.myPage.urlArray[0])
            } else if indexPath.item == 1 {
                openWebLink(StringLiteral.myPage.urlArray[1])
            }
        default:
            break
        }
    }

📸 스크린샷

구현 내용 스크린샷
이용약관 및 개인정보처리방침 연결

✅ Issue

Resolved #68

@boyeon0119 boyeon0119 added 🙊보연 보연의 issue 🌈 feat 기능 구현 labels Jan 13, 2024
@boyeon0119 boyeon0119 added this to the 🚀1차 스프린트🚀 milestone Jan 13, 2024
@boyeon0119 boyeon0119 self-assigned this Jan 13, 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.

Judy님 오늘도 고생많으셨습니다 🙌 엘지티엠 ~

Copy link
Member

@kim-seonwoo kim-seonwoo left a comment

Choose a reason for hiding this comment

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

Hello👋 Judy님!
Url 관련 코드 잘 봤습니다!!

@boyeon0119 boyeon0119 merged commit e8b21a5 into develop Jan 13, 2024
@Zoe0929 Zoe0929 deleted the feat/#68-MyPageInfo branch January 19, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌈 feat 기능 구현 🙊보연 보연의 issue
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feat] 마이페이지 이용약관 및 개인정보처리방침 연결
3 participants