Description
Schedule is a Swift library for running timed tasks with a fluent, readable syntax, presented as a friendlier alternative to Timer. It supports interval-based plans, where you write intervals like one second or five minutes using extensions on Int and Double, and date-based plans with calendar-style rules. Plans can be combined with collection operators, so you can build custom schedules. Simple natural language parsing is also supported. The library includes batch task management, a detailed execution history, and the ability to suspend, resume, cancel and reset plans. Tasks can be dispatched to a chosen dispatch queue. The README compares it with Timer and DispatchSourceTimer, noting that Schedule adds date-based scheduling, combined plans, natural language parsing, execution records and child actions. It is thread safe and the author reports test coverage near 100 percent.…
Highlights
- Interval and date-based scheduling with fluent syntax
- Combined plans with collection operators
- Natural language parsing for simple schedules
- Execution history, batch management and suspend or resume
- Thread safe, with detailed documentation
Ratings & Reviews
No ratings yet
Be the first to rate Schedule.
People also visit
Schedule FAQ
What is Schedule?
A Swift library for running timed tasks with a fluent syntax, presented as an alternative to Timer.
What can it schedule?
Interval-based plans, date-based plans, combined plans and simple natural language schedules.
Can I pause a task?
Yes. The README lists suspend, resume, cancel and plan reset.
Is it thread safe?
Yes. The README lists thread safety as a feature.
Is it open source?
Yes. The source is on GitHub under the luoxiu account.
What are the best Schedule alternatives?
Popular alternatives to Schedule include Main Thread Scheduling, Clocker and JDFlipNumberView. See all Schedule alternatives






