I was trying to add LOTAnimationView to my collection view cell, but nothing appears on the screen when I run the program.Here is the link to lottie. And Here is the code:
class Cell: UICollectionViewCell{
var animationView: LOTAnimationView!
override func awakeFromNib() {
super .awakeFromNib()
animationView = LOTAnimationView(name: "Animation")
self.contentView.addSubview(animationView!)
}