init(named:from:duration:)
Creates an action of the given name from an action file with a new duration.
Declaration
init?(named name: String, from url: URL, duration: TimeInterval)Parameters
- name:
The name of the action
- url:
The url of the file containing the action
- duration:
The duration of the action