State

enum State

The different states of the execution of the sort coordinator.

  • Starting phase, where preparation for the execution is done

    Declaration

    Swift

    case atStart
  • The animating phase, where sorting methods are executed one by one, step by step, by calling the nextStep() method.

    Declaration

    Swift

    case animating
  • After animation, all sorting methods are executed using the realAlgorithm() method to time the “actual” perfomance of the methods.

    Declaration

    Swift

    case measuring
  • End phase, where the exection is finished.

    Declaration

    Swift

    case atEnd