NVActivityIndicatorPresenter

public final class NVActivityIndicatorPresenter

Presenter that displays NVActivityIndicatorView as UI blocker.

  • Shared instance of NVActivityIndicatorPresenter.

    Declaration

    Swift

    public static let sharedInstance: NVActivityIndicatorPresenter
  • Current status of animation, read-only.

    Declaration

    Swift

    public var isAnimating: Bool { get }
  • Display UI blocker.

    Declaration

    Swift

    public final func startAnimating(_ data: ActivityData, _ fadeInAnimation: FadeInAnimation?)

    Parameters

    data

    Information package used to display UI blocker.

    fadeInAnimation

    Fade in animation.

  • Remove UI blocker.

    Declaration

    Swift

    public final func stopAnimating(_ fadeOutAnimation: FadeOutAnimation?)

    Parameters

    fadeOutAnimation

    Fade out animation.

  • Set message displayed under activity indicator view.

    Declaration

    Swift

    public final func setMessage(_ message: String?)

    Parameters

    message

    message displayed under activity indicator view.