Skip to content

Why NVActivityIndicatorPresenter is deprecated, whats the alternate approach? #315

@preetamjadakar

Description

@preetamjadakar

I see, in the latest release NVActivityIndicatorPresenter is deprecated, not sure why but I'm looking for its alternative.
My requirement is simple:
Something is deprecated meaning, planned for removal or not supported near future, so we can't just bear with the deprecation warnings.

  • Should block UI(including Tabbar/Navigation bar)
  • Can be called from any place,(not necessary from UIViewController sub-classes), but it should show on the visible screen
  • Should show indicator at the center of the window by default.

My current implementation is as below:
var activityData = ActivityData()
To show: NVActivityIndicatorPresenter.sharedInstance.startAnimating(activityData, nil)
To hide: NVActivityIndicatorPresenter.sharedInstance.stopAnimating()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions