Top "Nsnotificationcenter" questions

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

How to communicate between iOS App Containing Extension and Extension (not Host App)

TLDR: Is it possible to send realtime messages or notifications between iOS App and it's Extension? I'm writing an iOS …

ios core-data swift nsnotificationcenter ios-extensions
Reachability network change event not firing

My iphone app is pretty simple with one view that handles everything, in viewDidLoad I check to see if we …

iphone objective-c reachability nsnotificationcenter
NSNotificationCenter: Removing an Observer in Swift

I have a view controller with a button. When the button is pressed it adds an observer, like so: func …

swift nsnotificationcenter
Refreshing Parent ViewController after dismissing ModalViewController

In my iOS app, a user can select an image from a list, upon which they are presented with a …

ios objective-c uiviewcontroller nsnotificationcenter presentviewcontroller
Are NSNotificationCenter events received synchronously or asynchronously?

If a class registers for NSNotificationCenter events of a certain type and another class posts an event of that type, …

ios nsnotificationcenter
Is removing a NotificationCenter observer that was created with closure syntax by name adequate?

I have a few notifications that were created using block / trailing closure syntax which look like this: NotificationCenter.default.addObserver(…

swift nsnotificationcenter observers