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] #78 - 로티 인스톨 및 티켓 애니메이션 구현 #81

Merged
merged 7 commits into from
Jan 17, 2022

Conversation

L-j-h-c
Copy link
Member

@L-j-h-c L-j-h-c commented Jan 16, 2022

🌴 PR 요약

🌱 작업한 브랜치

🌱 작업한 내용

  • 로티 인스톨
  • 티켓 애니메이션 구현
  • 컨페티 애니메이션 구현

📌 참고 사항

  • 티켓 애니메이션은 json파일 문제로 추후 교체 예정

📮 관련 이슈

@L-j-h-c L-j-h-c added Feat 새로운 기능 구현 🧚‍♀️Devil『쥬노』 뀨의 의지 공식후계자입니다 아몰랑 P2 / Priority Middle labels Jan 16, 2022
@L-j-h-c L-j-h-c self-assigned this Jan 16, 2022
Copy link
Member

@hyun99999 hyun99999 left a comment

Choose a reason for hiding this comment

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

강해져서 와라. 난 약한자는 어푸르브하지 않아.

let animationView = AnimationView(name: "ticket_welcome")
animationView.frame = animationFrameView.bounds
animationView.contentMode = .scaleAspectFit
animationView.loopMode = .repeat(100)
Copy link
Member

Choose a reason for hiding this comment

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

선생님..? loop 거시면 되용

Copy link
Member

Choose a reason for hiding this comment

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

lazy 는 만들어지기 전에는 메모리에 올리지 않는 이점이 있는데 이 뷰는 이미 올라가있기 때문에 불필요해보여여!

Copy link
Member Author

Choose a reason for hiding this comment

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

그 loop선배를 못찾았었는데... 있네요 ㅎㅎ 감사합니다 lazy는 수정했습니다!

Comment on lines +75 to +77
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 1) { [self] in
ticketView.play()
}
Copy link
Member

Choose a reason for hiding this comment

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

1초 대기했다가 돌리는 목적이죵?

Copy link
Member Author

Choose a reason for hiding this comment

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

네 맞아요! 이후에 적당한 간격으로 수정했습니다


class JoinCheckVC: UIViewController {

// MARK: - Properties

lazy var ticketView: AnimationView = {
let animationView = AnimationView(name: "ticket_welcome")
Copy link
Member

Choose a reason for hiding this comment

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

Const 확장해서 사용해주세용~

Copy link
Member Author

Choose a reason for hiding this comment

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

넵 적용했습니다!

@@ -20,6 +32,8 @@ class CompleteAuthVC: UIViewController {
super.viewDidLoad()
setUI()
setGesture()
setAnimation()
view.bringSubviewToFront(handImageVIew)
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.

형아.

@L-j-h-c L-j-h-c merged commit c725194 into TeamSparker:develop Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧚‍♀️Devil『쥬노』 뀨의 의지 공식후계자입니다 아몰랑 Feat 새로운 기능 구현 P2 / Priority Middle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 로티 인스톨 및 티켓 애니메이션 구현
2 participants