talira

ActivityIndicatorView

Preset SwiftUI loading indicators

open sourceMITfree

ActivityIndicatorView is a SwiftUI library from Exyte with a set of preset loading indicators (the iOS spinner style, arcs, rotating, flickering and scaling dots, a growing arc and more), each with sensible defaults and styled with ordinary SwiftUI modifiers.

Problems it solves

  • show a nicer loading spinner in my SwiftUI app
  • pick from ready-made activity indicators instead of animating my own in SwiftUI
  • add a loading animation to a watchOS or tvOS app

Features

  • preset loading indicator styles
  • configurable counts, line widths and colours
  • styled with standard SwiftUI modifiers
  • iOS, watchOS, tvOS and macOS

Limitations

  • Its CocoaPods pod is deprecated after version 1.1.1; it installs with Swift Package Manager.1

Alternatives

The same job

These do what ActivityIndicatorView does.

  1. ProgressHUD Lightweight HUD for iOS: loading animations, progress, success and error alerts, banners
  2. SVProgressHUD A clean and lightweight progress HUD for iOS and tvOS apps

Compare ActivityIndicatorView with the top 3