Expand description

A progress indicator widget.

This control wraps NSProgressIndicator in AppKit, and UIProgressView+UIActivityIndicatorView in iOS/tvOS. It operates in two modes: determinate (where you have a fixed start and end) and indeterminate (infinite; it will go and go until you tell it to stop).

use cacao::progress::ProgressIndicator;
use cacao::view::View;
use crate::cacao::layout::Layout;
let indicator = ProgressIndicator::new();
indicator.set_indeterminate(true);
let my_view : View<()> = todo!();
my_view.add_subview(&indicator);

Structs

A control used for reporting progress to a user visually.

Enums

The type of spinner style you’re after.