All Projects → zekunyan → TTGNotificationGuard

zekunyan / TTGNotificationGuard

Licence: MIT license
Auto remove the observer from NSNotificationCenter after the oberser dealloc

Programming Languages

shell
77523 projects
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to TTGNotificationGuard

binance-spot-order-notification-heoku
[binance order trade fill notification] Telegram Notification when Binance order created, cancelled or filled. Ready to Deploy on Heroku
Stars: ✭ 30 (+130.77%)
Mutual labels:  notification
janitor
Availability monitoring and alerting for IOT devices
Stars: ✭ 55 (+323.08%)
Mutual labels:  notification
Achievement-Watcher
A sexy achievement file parser with real-time notification, automatic screenshot and playtime tracking. View every achievements earned on your PC whether it's coming from Steam, a Steam emulator, and more.
Stars: ✭ 331 (+2446.15%)
Mutual labels:  notification
flasher
A powerful and flexible flash notifications system for PHP
Stars: ✭ 46 (+253.85%)
Mutual labels:  notification
Taskly
Flutter app to manage tasks.
Stars: ✭ 126 (+869.23%)
Mutual labels:  notification
Preconditions
Preconditions.NET provides convenience static methods to help check that a method or a constructor is invoked with proper parameter or not.
Stars: ✭ 17 (+30.77%)
Mutual labels:  guard
stackdriver-to-discord
[Unmaintained] ⚙️ A simple Google Cloud Function in Go to transform / proxy Stackdriver Static Webhook notifications to Discord.
Stars: ✭ 18 (+38.46%)
Mutual labels:  notification
PushMeBaby
iOS Push Notification Debug App. You can use this app during iOS Push Notification (development or production) to push notifications on your device from your Mac.
Stars: ✭ 47 (+261.54%)
Mutual labels:  notification
flutter-push-notification-without-firebase
Flutter push notification without firebase with background services feature
Stars: ✭ 42 (+223.08%)
Mutual labels:  notification
React-MaterialUI-Starter-Kit
The ReactJs 16 start kit that include Redux, Material UI, Babel 7 and Webpack 4
Stars: ✭ 48 (+269.23%)
Mutual labels:  notification
denbun
Adjust showing frequency of Android app messages, and to be more user friendly 🐦
Stars: ✭ 17 (+30.77%)
Mutual labels:  notification
pdsl
The expressive declarative toolkit for composing predicates in TypeScript or JavaScript
Stars: ✭ 64 (+392.31%)
Mutual labels:  guard
avizo
A neat notification daemon
Stars: ✭ 108 (+730.77%)
Mutual labels:  notification
MusicPlayer
Android music player example.
Stars: ✭ 20 (+53.85%)
Mutual labels:  notification
Graphical notifications Zabbix
No description or website provided.
Stars: ✭ 77 (+492.31%)
Mutual labels:  notification
filter-anything
A simple (TypeScript) integration of "pick" and "omit" to filter props of an object
Stars: ✭ 19 (+46.15%)
Mutual labels:  guard
twsms
台灣簡訊 twsms api client
Stars: ✭ 16 (+23.08%)
Mutual labels:  notification
ohd
Garage Door Monitor (OverHeadDoor) - Python3, Raspbian
Stars: ✭ 126 (+869.23%)
Mutual labels:  notification
spontit-api-python-wrapper
Send functional, flexible push notifications to iOS, Android, and desktop devices (without your own app or website).
Stars: ✭ 35 (+169.23%)
Mutual labels:  notification
pr-reviews-reminder-action
A GitHub Action to send Slack/Teams notification for Pull Request that are waiting for reviewers.
Stars: ✭ 18 (+38.46%)
Mutual labels:  notification

TTGNotificationGuard

CI Status Version License Platform

What

Auto remove the observer from NSNotificationCenter after the oberser dealloc, base on TTGDeallocTaskHelper.

Requirements

iOS 6 and later.

Installation

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

pod "TTGNotificationGuard"

Usage

  1. TTGNotificationGuard is default off, so you must turn it on first.
#import "NSNotificationCenter+TTGNotificationGuard.h"

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Enable the TTGNotificationGuard
    [NSNotificationCenter ttg_setTTGNotificationGuardEnable:YES];
    return YES;
}
  1. No more need to do. Just start coding as usual :)

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Author

zekunyan, [email protected]

License

TTGNotificationGuard is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].