Update lottie-ios

This commit is contained in:
Ali
2022-06-06 18:25:58 +04:00
parent 6541feab69
commit 1c0113d616
601 changed files with 20997 additions and 19039 deletions

View File

@@ -0,0 +1,33 @@
//
// CompatibleAnimationKeypath.swift
// Lottie_iOS
//
// Created by Tyler Hedrick on 3/6/19.
//
import Foundation
#if os(iOS) || os(tvOS) || os(watchOS) || targetEnvironment(macCatalyst)
/// An Objective-C compatible wrapper around Lottie's AnimationKeypath
@objc
public final class CompatibleAnimationKeypath: NSObject {
// MARK: Lifecycle
/// Creates a keypath from a dot separated string. The string is separated by "."
@objc
public init(keypath: String) {
animationKeypath = AnimationKeypath(keypath: keypath)
}
/// Creates a keypath from a list of strings.
@objc
public init(keys: [String]) {
animationKeypath = AnimationKeypath(keys: keys)
}
// MARK: Public
public let animationKeypath: AnimationKeypath
}
#endif