init(named:fromURL:duration:)
Creates an action of the given name from an action file with a new duration.
Declaration
init?(named name: String, fromURL 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, in seconds.
Return Value
A new action object.