Material Motion Exploring solutions that will empower creators with the tools needed to describe and implement rich, interactive motion on any platform. Edit this page · History
Status
Drafting as of Oct 25, 2016

TransitionDirector replication feature specification

ReplicaController API: Transition directors have a private read-only replicaController API.

Provide the replica controller to the director’s initializer.

This API is not accessible to sub-classes.

Example pseudo-code:

TransitionDirector {
  private readonly var replicaController
  init(replicaController)

ReplicaControllerDelegate API: Transition directors can assign a replicaControllerDelegate.

Subclasses are expected to set a custom replica controller delegate using this API.

Example pseudo-code:

TransitionDirector {
  var replicaControllerDelegate
}