State
private enum State
The state variable used in step by step sorting.
-
The outer loop’ first steps to execute.
Declaration
Swift
case outerLoopFirstPart
-
The inner loop area to execute.
Declaration
Swift
case innerForLoop
-
Algorithm is done sorting.
Declaration
Swift
case finished