Repository navigation
Swift Package Manager support
SwiftNotificationCenter can now be installed with Swift Package Manager:
.package(url: "https://github.com/100mango/SwiftNotificationCenter.git", from: "1.1.0")Add the SwiftNotificationCenter product to your target and import SwiftNotificationCenter.
Regression coverage
- Expanded the library suite to 20 tests covering delivery, deduplication, weak observer lifetimes, protocol-specific removal, snapshot behavior, recursive notifications, caller-queue delivery, concurrent registration/notification/removal, and weak-set bulk/copy behavior.
- Added a separate public-product consumer with 3 tests, run in both Debug and Release.
- Added read-only macOS CI for pull requests, the main development branch, and exact-version release consumption.
Compatibility
- Public API and production library implementation are unchanged.
- Swift 5 language mode and the declared iOS 8.0/macOS 10.9 deployment targets are retained. Modern Xcode toolchains may impose newer deployment floors; historical OS runtime compatibility was not newly verified.
- CocoaPods and Carthage integration are preserved. This release does not publish a new CocoaPods registry entry.
- Documentation now explains synchronous notification delivery and bounded-concurrency guidance for shared Dispatch worker pools.
Validation includes Swift 6.4.1 on Linux and Apple Swift 6.1.2 on macOS, with the library and external-consumer suites passing in Debug and Release. iOS Simulator/device execution and the original Swift 5.0 compiler were not tested.