StoredAnimation

public class StoredAnimation: Animation

StoredAnimation is a concrete subclass of Animation.

A StoredAnimation object is able to apply a set of stored animation properties to an object.

This class is useful for serializing and deserializing animations.

  • A dictionary of keys whose values will be applied to animatable properties of the receiver. The keys should map directly to the names of animatable properies.

    Declaration

    Swift

    public var values = [String: AnyObject]()
  • Initiates the changes specified in the receivers animations block. - parameter object: An object to which the animations apply

    Declaration

    Swift

    public func animate(object: NSObject)

    Parameters

    object

    An object to which the animations apply