Top "Nsnotificationcenter" questions

NSNotificationCenter allows to send and register for notifications in the Foundation framework, which is provided by Apple.

How to post and receive an NSNotifications (Objective C) | Notifications (in Swift)?

Is there an easy-to-grock pattern how to send a NSNotification (Objective C) | Notification (in Swift) and how to receive one? …

iphone notifications nsnotificationcenter nsnotifications
UIKeyboardWillShowNotification & UIKeyboardDidShowNotification report wrong keyboard height

The following code (sorry for the length) displays an odd behavior under iOS 4.3 (maybe others version too). In this example, …

ios keyboard size uikeyboard nsnotificationcenter
NSOperation and NSNotificationCenter on the main thread

I have an NSOperation. When it is finished I fire a NSNotificationCenter to let the program know that the NSoperation …

iphone objective-c cocoa nsoperation nsnotificationcenter
How do I check if an UIViewController is currently being displayed?

How do I check if an UIViewController is currently being displayed? My UIViewControllers are listening for NSNotifications - even if …

objective-c ios uiviewcontroller nsnotificationcenter nsnotification
Observing Changes to a mutable array using KVO vs. NSNotificationCenter

In my model I have an array of objects called events. I would like my controller to be notified whenever …

ios model-view-controller delegates key-value-observing nsnotificationcenter
Pass object with NSNotificationCenter to other view

I am trying to pass an object from my main view class to other notification receiver in another class. I …

iphone xcode nsnotifications nsnotificationcenter
How can I listen for all notifications sent to the iOS NSNotificationCenter's defaultCenter?

I want to listen to all notifications dispatched to the defaultCenter. Both public and private. Does anyone know how I …

ios nsnotificationcenter
Removing a NSNotificationCenter observer in iOS 5 ARC

I have an iOS 5 ARC-based project, and am having difficulty about where I should be removing the observer for the …

objective-c ios cocoa-touch nsnotifications nsnotificationcenter
What is parameter `object` in NSNotification addObserver:?

One of my class named Message.m is posting a notification with an object sentObject as below NSDictionary *sentObject = [NSDictionary …

iphone nsnotificationcenter
NSNotificationCenter : list of observers?

Is it possible to get the list of observers (objects and selectors) for a given notification name? (NSNotificationCenter)

objective-c cocoa nsnotificationcenter