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: 명함 생성 전화번호 텍스트필드 기능 구현 (#417) #441

Merged
merged 6 commits into from
Apr 21, 2023

Conversation

hyun99999
Copy link
Member

@hyun99999 hyun99999 commented Apr 15, 2023

🌴 PR 요약

🌱 작업한 브랜치

📸 스크린샷

기능 스크린샷
전화번호 입력

📮 관련 이슈

@hyun99999 hyun99999 added Hyungyu 🐯 현규 교수님 작업 Feat 새로운 기능 구현 labels Apr 15, 2023
@hyun99999 hyun99999 requested a review from dlwns33 April 15, 2023 19:15
@hyun99999 hyun99999 self-assigned this Apr 15, 2023
Copy link
Member

@dlwns33 dlwns33 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 +339 to +348
if text.count < 10 {
phoneNumberTextField.text = text
} else if text.count == 10 {
phoneNumberTextField.text = textArray[0...2].joined() + "-" + textArray[3...5].joined() + "-" + textArray[6...9].joined()
} else if text.count == 11 {
phoneNumberTextField.text = textArray[0...2].joined() + "-" + textArray[3...6].joined() + "-" + textArray[7...10].joined()
} else {
phoneNumberTextField.text = text
}
}
Copy link
Member

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.

넹넹!

@hyun99999 hyun99999 merged commit e3931d9 into TeamNADA:develop Apr 21, 2023
@hyun99999 hyun99999 deleted the feature/#417 branch April 21, 2023 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feat 새로운 기능 구현 Hyungyu 🐯 현규 교수님 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: 명함 생성 전화번호 텍스트필드 기능 구현
2 participants