SPIndicator icon indicating copy to clipboard operation
SPIndicator copied to clipboard

[Feature Request] Progress Indicator

Open Lakr233 opened this issue 2 years ago • 4 comments

Is it possible to make it a progress indicator?

Put a UIActivityIndicatorView at the icon and provide a call back like

SPIndicator.presentProgress(message: "Hello") { completion in
    // do some work
    Backend.shared.load()
    // when done
    completion.send()
}

Lakr233 avatar May 04 '22 07:05 Lakr233

Great idea, will do it

ivanvorobei avatar May 06 '22 06:05 ivanvorobei

And maybe something like this:

SPIndicator.presentProgress(message: "Hello") { indicator in
    // do some work
    Backend.shared.load { progress in
        indicator.send(progress)
    }
    // when done
    indicator.complete()
}

Lakr233 avatar May 09 '22 16:05 Lakr233

this would be awesome!

nandorojo avatar Apr 22 '23 14:04 nandorojo

It would be great if that was implemented.

baronha avatar Jun 27 '23 06:06 baronha