https://github.com/Mijick/Timer
Modern API for Timer
https://github.com/Mijick/Timer
ios ios-sdk ios-swift spm swift swift-package swift-package-manager swift5 swiftlibrary swiftui swiftui-framework timer
Last synced: 13 days ago
JSON representation
Modern API for Timer
- Host: GitHub
- URL: https://github.com/Mijick/Timer
- Owner: Mijick
- License: mit
- Created: 2023-09-21T16:11:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-17T22:23:32.000Z (9 months ago)
- Last Synced: 2024-10-19T06:37:29.075Z (7 months ago)
- Topics: ios, ios-sdk, ios-swift, spm, swift, swift-package, swift-package-manager, swift5, swiftlibrary, swiftui, swiftui-framework, timer
- Language: Swift
- Homepage:
- Size: 13.7 KB
- Stars: 97
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-swiftui-libraries - MijickTimer - Modern API for Timer (Extensions / Content)
README
![]()
Timers made simple
Easy to use yet powerful Timer library. Keep your code clean.
Try demo we prepared
|
Framework documentation
|
Roadmap
![]()
Multiple Timers
State Control
![]()
![]()
# ✨ Features
⏳
Countdown Timer (Down-Going)
⏱️
Count-Up Timer (Elapsed Time)
⏸️
Pause Timer
▶️
Resume Timer
⏭️
Skip Timer
⏮️
Cancel Timer
⚡
Reactive programming friendly
# ☀️ What is MijickTimer?
MijickTimer library is Swift-based library that offers powerful and flexible timer features for iOS and macOS and visionOS apps. It allows to create both countdown and count-up timers with enhanced state management and observation options.
Count-Up Timer
Track elapsed time seamlessly with a count-up timer. Ideal for productivity, logging or workout apps.
Take a look at the implementation details here.
Countdown Timer
Easily create countdown timers to track remaining time. Perfect for games, events or task apps.
Take a look at the implementation details here.
Control Timer state
Pause timers and resume them later without losing progress. It also allows to skip and cancel the progress.
Take a look at the implementation details here.
Observe Timer State
Monitor timer state with a variety of different approaches: binding, callbacks, combine, state value updates.
Take a look at the implementation details here.
# ✅ Why MijickTimer?
Multiple Apple Platform Support:
* iPhone, iPad. Requires iOS 13.0+ .
* Mac. Requires macOS 10.15+.
* Apple Vision Pro. Requires visionOS 1.0+.
Built for Swift 6:
* Modern, efficient, and designed for performance.
All-in-One Timer Solution:
* Handles countdowns, count-ups, pausing, resuming and state management seamlessly.
Versatile Observation:
* Choose callbacks, bindings or Combine for the implementation that works best for you.
* Provides the ability to access the state of a specific timer from any part of the code base.It's just a cool library 😎
# 🚀 How to use it?
Visit the framework's [documentation](https://link.mijick.com/timer-wiki) to learn how to integrate your project with **MijickTimer**.
See for yourself how does it work by cloning [project](https://link.mijick.com/timer-demo) we created# 🍀 Community
Join the welcoming community of developers on [Discord](https://link.mijick.com/discord).# 🌼 Contribute
To contribute a feature or idea to **MijickTimer**, create an [issue](https://github.com/Mijick/Timer/issues/new?assignees=FulcrumOne&labels=state%3A+inactive%2C+type%3A+feature&projects=&template=🚀-feature-request.md&title=%5BFREQ%5D) explaining your idea or bring it up on [Discord](https://discord.com/invite/dT5V7nm5SC).
If you find a bug, please create an [issue](https://github.com/Mijick/Timer/issues/new?assignees=FulcrumOne%2C+jay-jay-lama&labels=state%3A+inactive%2C+type%3A+bug&projects=&template=🦟-bug-report.md&title=%5BBUG%5D).
If you would like to contribute, please refer to the [Contribution Guidelines](https://link.mijick.com/contribution-guidelines).# 💜 Sponsor our work
Support our work by [becoming a backer](https://link.mijick.com/buymeacoffee).