Platforms to show: All Mac Windows Linux Cross-Platform

ProgressHUDMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class ProgressView MBS iOS Plugin 22.5 ❌ No ❌ No ❌ No ✅ Yes iOS only
Displays a simple HUD window containing a progress indicator and two optional labels for short messages.

This is a simple drop-in class for displaying a progress HUD view similar to Apple's private UIProgressHUD class.
The MBProgressHUD window spans over the entire space given to it by the constructor and catches all user input on this region, thereby preventing the user operations on components below the view.

To still allow touches to pass through the HUD, you can set hud.userInteractionEnabled = false.
MBProgressHUD is a UI class and should therefore only be accessed on the main thread.

Constants

Constant Value Description
MaxOffset 1000000.0 The max offset constant to move to the other border.

Animations

Constant Value Description
AnimationFade 0 Opacity animation
AnimationZoom 1 Opacity + scale animation (zoom in when appearing zoom out when disappearing)
AnimationZoomIn 3 Opacity + scale animation (zoom in style)
AnimationZoomOut 2 Opacity + scale animation (zoom out style)

Modes

Constant Value Description
ModeAnnularDeterminate 3 Ring-shaped progress view.
ModeCustomView 4 Shows a custom view.
ModeDeterminate 1 A round, pie-chart like, progress view.
Example
ModeDeterminateHorizontalBar 2 Horizontal progress bar.
ModeIndeterminate 0 A round progress indicator.
Example
ModeText 5 Shows only labels.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 22.5

The items on this page are in the following plugins: MBS iOS Plugin.


ProgressBarProgressViewMBS   -   ProgressRoundProgressViewMBS


The biggest plugin in space...