CocoaPods trunk is moving to be read-only. Read more on the blog, there are 7 months to go.

ActivityIndicatorController 1.2.0

ActivityIndicatorController 1.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Adam Debono.



  • By
  • Adam Debono

ActivityIndicatorController

An ActivityIndicatorView inside an alert controller.

The view controller will look and behave as the .alert style of a UIAlertController, inheriting its UI and animations.

Usage

The ActivityIndicatorViewController should be presented and dismissed as you would any other view controller.

let activityViewController = ActivityIndicatorViewController()
self.present(activityViewController, animated: true, completion: nil)

// some lengthy task

activityViewController.dismiss(animated: true, completion: nil)