-
-
Notifications
You must be signed in to change notification settings - Fork 4
Some needed functionalities are missing #9
Copy link
Copy link
Closed
Description
Hello,
First of all thanks for your effort on the package.
Since I am trying to use your Timer in my project, unfortunately lack of some functionalities are hardly noticed.
- When timer ends, timer needs to have a
Boolto notify UI about it,isTimerRunningis good only about the current situation of Timer that becomesfalsewhen you pause it and you are able to resume it but there is no result of the timer to know actually it did finish to run other actions when it did "actually" finish. - Timer has no abort/skip functionality, as a whole you may think you don't need such but actually as in my project be able to skip/abort the timer and get the finished boolean as mentioned in # 1 is crucial.
- Timer is no class friendly to be used in ViewModels for example. The
Bindings in the initialisers are making it not work unless you import SwiftUI and make custom Binding to thePublishedvariables.
As a request, please add extra initialisers to be able to just pass them variables in classes, abort/skip functionality and a finish report.
Thanks again for your package.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels