CocoaPods trunk is moving to be read-only. Read more on the blog, there are 15 months to go.

LCNotificationManager 1.0.2

LCNotificationManager 1.0.2

Maintained by DevLiuSir.



  • By
  • Marvin

中文


LCNotificationManager is a lightweight notification management framework that aims to simplify and unify notification management in iOS/macOS projects. It encapsulates common notification types, such as normal notifications (NotificationCenter), distributed notifications (Distributed), Darwin notifications (CFNotification), and workspace notifications (NSWorkspace), and provides a simple and consistent API for developers to use.

Features

  • Normal notification management: Simplifies the use of NotificationCenter and supports sending, adding, and removing observers.
  • Distributed notification: Supports broadcasting notifications between different sessions and allows the delivery of additional information.
  • Darwin notification: Low-level notifications for the macOS system, supporting the sending and receiving of specific system notifications.
  • Workspace notification: Facilitates the sharing of status between applications and supports the sending and receiving of workspace-related notifications.

Directory Structure

Sources/
├── LCNotificationManager/
│   └── Helpers/
│       ├── LCDistributedNotificationManager.swift   # Helper class for distributed notifications
│       ├── LCCFNotificationManager.swift           # Helper class for Darwin CF notifications
│       ├── LCWorkspaceNotificationManager.swift     # Helper class for workspace-related notifications
│       └── LCNotificationCenterManager.swift       # Helper class for NotificationCenter notifications

Installation

CocoaPods

LCNotificationManager is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'LCNotificationManager'

License

MIT License

Copyright (c) 2022 Marvin

Author

DevLiuSir

Software Engineer