-
Notifications
You must be signed in to change notification settings - Fork 6
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
Conversation
로티 라이브러리 설치
로티 제이슨 파일 추가
인증완료 로티 추가
티켓 로티 추가
접근제한자 수정
There was a problem hiding this 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
선생님..? loop 거시면 되용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lazy 는 만들어지기 전에는 메모리에 올리지 않는 이점이 있는데 이 뷰는 이미 올라가있기 때문에 불필요해보여여!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그 loop선배를 못찾았었는데... 있네요 ㅎㅎ 감사합니다 lazy는 수정했습니다!
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 1) { [self] in | ||
ticketView.play() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1초 대기했다가 돌리는 목적이죵?
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Const 확장해서 사용해주세용~
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이준호.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
형아.
Lottie const 추가 및 적용
코드리뷰 반영
🌴 PR 요약
🌱 작업한 브랜치
🌱 작업한 내용
📌 참고 사항
📮 관련 이슈