Skip to content

Commit

Permalink
[#21] 날씨 lottie animation 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ezidayzi committed Aug 20, 2021
1 parent b37fc22 commit e6e133e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class MainViewController: UIViewController {
super.viewDidLoad()
initMainTableView()

setLottieView()
setLayoutMainViewController()
setTargets()
setButton()
Expand All @@ -105,6 +106,8 @@ class MainViewController: UIViewController {

private func setLottieView() {
lottieView = .init(name: self.setLottieImage(weather?.timezonwOffset ?? 0))
lottieView.play()
lottieView.loopMode = .loop
}

private func setTargets() {
Expand Down

0 comments on commit e6e133e

Please sign in to comment.