This API ensures a clean separation of concerns from the entity that chooses which transition to occur and the entity that makes the transition happen.
We should also provide some facility for configuring a transition before it happens.
Some options:
Store state alongside the directorClass.
Require the director to request data from the view controllers.
The current API for using a TransitionDirector to govern a transition looks like so:
This API ensures a clean separation of concerns from the entity that chooses which transition to occur and the entity that makes the transition happen.
We should also provide some facility for configuring a transition before it happens.
Some options: