Instance Property

animations

Sets the option dictionary that maps event trigger keys to animation objects.

Required.

Declaration

var animations: [NSAnimatablePropertyKey : Any] { get set }

Parameters

dict

A dictionary containing the event trigger keys and associated animation objects.

See Also

Managing Animations for Properties

func animation(forKey: NSAnimatablePropertyKey) -> Any?

Returns the animation that should be performed for the specified key.

Required.

static func defaultAnimation(forKey: NSAnimatablePropertyKey) -> Any?

Returns the default animation that should be performed for the specified key.

Required.