How to add Lottie animated icons/illustrations in Swift

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025
  • In this video we will teach you how to preview Lottie animations in Swift. We will create a project in Xcode from scratch and we will show you how to add the animations. shape.so
    This the link of the file: bit.ly/2Vtdete

ความคิดเห็น • 8

  • @w0mblemania
    @w0mblemania 4 ปีที่แล้ว +7

    Some problems:
    - A 400x400 AnimationView is created in Interface Builder, and an Outlet is created.
    But then a 400x700 AnimationView is created in code, and added as a subview. Thus there are two (differently sized) AnimationViews in the view hierarchy. Only one is being used.
    -Fixed-dimension views like these will break on different iPhone sizes. e.g. an iPhone 6 is only 375 points wide. To fix this, set height and width constraints that are proportional to, say, the width of the device. (Or, pin the view width to the width of the superview, then set a proportional height constraint and a y location constraint.)
    Cheers.

  • @wensmusic8636
    @wensmusic8636 3 ปีที่แล้ว

    Your tutorial was Super easy and plain. No complexity’s and I like that. Keep going good luck !

  • @seansneed5032
    @seansneed5032 4 ปีที่แล้ว

    love the tutorial. side note: love this intro much better. can you use it on any new courses on designcode going forward?

  • @rodricam1
    @rodricam1 2 ปีที่แล้ว

    Very useful IBOutlet lol

  • @donathmm3881
    @donathmm3881 4 ปีที่แล้ว

    where do you use the iboutlet lol

  • @MattiaRighetti
    @MattiaRighetti 4 ปีที่แล้ว

    Does storyboard still exist? 😂

    • @Cod3rMax
      @Cod3rMax 4 ปีที่แล้ว

      please don't say that i'm struggling with it since i'm a bigginer i'm watching tutorial on swiftUI and storyboard on the same time and making apps at the same time so i don't waste time omg i'm going crazy

  • @theLilaQ
    @theLilaQ 2 ปีที่แล้ว

    Storyboard, yikes