Contents

run(forKey:object:arguments:)

Called to trigger the action specified by the identifier.

Declaration

func run(forKey event: String, object anObject: Any, arguments dict: [AnyHashable : Any]?)

Parameters

  • event:

    The identifier of the action. The identifier may be a key or key path relative to anObject, an arbitrary external action, or one of the action identifiers defined in Calayer.

  • anObject:

    The layer on which the action should occur.

  • dict:

    A dictionary containing parameters associated with this event. May be nil.

See Also

Related Documentation

  • Core Animation Programming Guide