Find Related products on Amazon

Shop on Amazon

Show HN: Pledge – A Lightweight Reactive Framework for Swift (No Rx Overhead)

Published on: 2025-05-04 06:33:54

Pledge A thoughtfully designed reactive programming framework in Swift Pledge is a lightweight, thread-safe reactive programming framework for Swift that simplifies state management, event propagation and balances power with simplicity in your applications. While other frameworks force you to learn complex concepts and operators, Pledge focuses on solving the real problems developers face daily: Overview Pledge provides a clean, flexible way to implement the observer pattern in Swift applications. It enables you to create observable values that notify subscribers of changes, with powerful features like: Thread-safe implementation Priority-based notifications Customizable delivery queues Batch updates Rate limiting (throttling and debouncing) Functional operators (map, filter, etc.) Global state management Installation Swift Package Manager Add the following to your Package.swift file: dependencies: [ . package ( url : " https://github.com/gokulnair2001/Pledge.git " , fro ... Read full article.