Skip to content

Instance Property

frames

The text that will be output on the indicator ticks, each frame corresponding to a single tick in a range of 0...(frames.count - 1).
let frames: [ConsoleText]

Discussion

The index of the current frame is figured using the equation tick % frames.count, allowing the indicator to run indefinitely.