A lightweight, pure-Swift library for managing task execution across different threads using the Kommand pattern.
Kommander is a lightweight, pure-Swift library that manages task execution across different threads using the Kommand concept, inspired by the Command pattern. It simplifies asynchronous programming by allowing developers to create, execute, cancel, and retry tasks with clean closures and flexible dispatchers. The library addresses the complexity of manual thread management in Swift applications, providing a structured approach to concurrency.
iOS, macOS, watchOS, and tvOS developers working with Swift who need a simple yet powerful way to handle asynchronous operations, task cancellations, and retries across multiple threads.
Developers choose Kommander for its minimalistic API, cross-platform compatibility, and robust feature set—including dispatcher flexibility, closure-based error handling, and support for multiple Swift versions—which reduces concurrency boilerplate and improves code maintainability compared to raw GCD or OperationQueue usage.
A lightweight, pure-Swift library for manage the task execution in different threads. Through the definition a simple but powerful concept, Kommand.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides precise thread management with main, current, or custom OperationQueue dispatchers, allowing developers to control execution context without manual GCD boilerplate.
Supports error type specification and customizable retry logic with closure-based handlers, simplifying failure recovery in asynchronous operations.
Compatible with iOS, macOS, watchOS, tvOS, and multiple Swift versions (2-4) plus Objective-C, easing migration and adoption across diverse projects.
Offers a clean, intuitive interface for creating and managing commands, reducing concurrency complexity and improving code clarity.
Lacks native support for Swift 5.5+ features like async/await, making it less relevant for modern codebases that leverage contemporary concurrency models.
Does not integrate seamlessly with broader Swift ecosystems such as Combine or SwiftUI's concurrency tools, potentially leading to fragmented code architecture.
Installation requires different Podfile entries for Swift 3, 2, and Objective-C, as noted in the README, which can be cumbersome and error-prone for mixed codebases.