We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. What do you think about binding blocks with NSNotification events?
The text was updated successfully, but these errors were encountered:
I'd be open to seeing that, what are your thoughts on making that work?
Sorry, something went wrong.
Sorry, my english is not very well. I think it should be something like this:
[bind bindNotificationWithName:(NSString*)notificationName object:(id)object withBlock:(void(^)(NSNotification* notification))handler]; // main notification center [bind bindNotificationWithName:(NSString*)notificationName object:(id)object notificationCenter:(NSNotificationCenter*)notificationCenter withBlock:(void(^)(NSNotification*))handler]; [bind bindNotificationWithName:(NSString*)notificationName withBlock:(void(^)(NSNotification*))handler]; //any object, main notification center
Bind should work like proxy object and redirect notifications to the handlers. Bind should look after double subscriptions and unsubscriptions.
No branches or pull requests
Hi.
What do you think about binding blocks with NSNotification events?
The text was updated successfully, but these errors were encountered: