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

Set [#54] Lottie Package 추가 #55

Merged
merged 4 commits into from
Jan 12, 2024
Merged

Set [#54] Lottie Package 추가 #55

merged 4 commits into from
Jan 12, 2024

Conversation

Zoe0929
Copy link
Member

@Zoe0929 Zoe0929 commented Jan 10, 2024

👾 작업 내용

Lottie Animation View 사용을 위한 패키지를 추가합니다.

🚀 PR Point

  • Lottie는 다음과 같이 사용해주시면 됩니다.
  1. AnimationView 생성
import Lottie
...
let animationView = LottieAnimationView(name: "{JASON_FILE_NAME}")
  1. 애니메이션 실행
animationView.play() 
  1. 재생 옵션 (옵션이 다양해서 필요한 거 찾아보시면 더 좋을 것 같아요!)
animationView.loopMode = .playOnce // 한번 실행
animationView.loopMode = .loop // 무한 재생
animationView.loopMode = .repeat(2) // 2번 반복
animationView.animationSpeed = 1.5 // 애니메이션 속도

📸 스크린샷

구현 내용 스크린샷
스플래쉬 예시입니다(햄햄팅!) Simulator Screen Recording - iPhone 13 mini - 2024-01-11 at 07 57 30

✅ Issue

Resolved #54

@Zoe0929 Zoe0929 added 🐰지희 지희의 issue ⚒️ set 세팅할 시 labels Jan 10, 2024
@Zoe0929 Zoe0929 added this to the 🚀1차 스프린트🚀 milestone Jan 10, 2024
@Zoe0929 Zoe0929 self-assigned this Jan 10, 2024
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.

패키지 추가 수고많으셨습니다~ 👍🥸

Copy link
Contributor

@boyeon0119 boyeon0119 left a comment

Choose a reason for hiding this comment

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

나를 위한 로티 추가,,, 무한한 감사,,, 🫶

@Zoe0929 Zoe0929 merged commit 2641e44 into develop Jan 12, 2024
@kim-seonwoo kim-seonwoo changed the title [Set [#54] Lottie Package 추가 Set [#54] Lottie Package 추가 Jan 12, 2024
@Zoe0929 Zoe0929 deleted the set/#54/Lottie branch January 13, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚒️ set 세팅할 시 🐰지희 지희의 issue
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Set] Lottie Package 추가
3 participants