SkeletonAnimation

@objc(FWSkeletonAnimation)
@objcMembers
open class SkeletonAnimation: NSObject,
                                NSCopying, NSMutableCopying,
                                SkeletonAnimationProtocol

骨架屏自带动画

  • Undocumented

    Declaration

    Swift

    public static let shimmer: SkeletonAnimation
  • Undocumented

    Declaration

    Swift

    public static let solid: SkeletonAnimation
  • Undocumented

    Declaration

    Swift

    public static let scale: SkeletonAnimation
  • Undocumented

    Declaration

    Swift

    open var fromValue: Any?
  • Undocumented

    Declaration

    Swift

    open var toValue: Any?
  • Undocumented

    Declaration

    Swift

    open var colors: [UIColor]?
  • Undocumented

    Declaration

    Swift

    open var duration: TimeInterval
  • Undocumented

    Declaration

    Swift

    open var delay: TimeInterval
  • Undocumented

    Declaration

    Swift

    open var repeatCount: Float
  • Undocumented

    Declaration

    Swift

    open var direction: SkeletonAnimationDirection

Lifecycle

NSCopying

  • Undocumented

    Declaration

    Swift

    public func copy(with zone: NSZone? = nil) -> Any
  • Undocumented

    Declaration

    Swift

    public func mutableCopy(with zone: NSZone? = nil) -> Any

SkeletonAnimationProtocol