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] #30 - 앞면,뒷면에 따라 움직이는 바 구현 #33

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

hyun99999
Copy link
Member

🌴 PR 요약

🌱 작업한 브랜치

🌱 작업한 내용

  • collection view 의 index(앞면,뒷면) 에 따라서 움직이는 view 구현
  • 앞면, 뒷면 라벨에 collection view 이동 이벤트 추가

📸 스크린샷

기능 스크린샷
앞면,뒷면 상단바 이동

📮 관련 이슈

### Descriptions
- collection view 의 index(앞면,뒷면) 에 따라서 움직이는 view 구현
- 앞면, 뒷면 라벨에 collection view 이동 이벤트 추가

### Related Issue
close TeamNADA#30
@hyun99999 hyun99999 added Hyungyu 🐯 현규 교수님 작업 P1 / Priority High 우선순위 높음 Feat 새로운 기능 구현 labels Oct 6, 2021
@hyun99999 hyun99999 self-assigned this Oct 6, 2021
@hyun99999 hyun99999 changed the title Feature/#30 [FEAT] #30 - 앞면,뒷면에 따라 움직이는 바 구현 Oct 6, 2021
Copy link
Member

@mini-min mini-min left a comment

Choose a reason for hiding this comment

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

LGTM👍🏻

currentIndex = 0
self.frontTextLabel.textColor = Colors.white.color
self.backTextLabel.textColor = Colors.hint.color
}
Copy link
Member

Choose a reason for hiding this comment

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

역시 교수님 최고네요 ^__^

func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer<CGPoint>) {
let targetIndex = targetContentOffset.pointee.x / scrollView.frame.size.width
if targetIndex == 1 && currentIndex == 0 {
UIView.animate(withDuration: 0.2) {
Copy link
Member

Choose a reason for hiding this comment

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

0.2초 메모메모...

@mini-min mini-min merged commit 087c9d5 into TeamNADA:develop Oct 7, 2021
@hyun99999 hyun99999 deleted the feature/#30 branch October 7, 2021 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feat 새로운 기능 구현 Hyungyu 🐯 현규 교수님 작업 P1 / Priority High 우선순위 높음
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 앞면,뒷면에 따라 움직이는 바 구현
2 participants