Search code examples
iosnotificationsnotificationcenter

NSNotificationCenter dispatch table


NSNotificationCenter is used to dispatch the objects across observers. I would like to know how notification center's dispatch table looks.

When we add an observer it adds to notification center's dispatch table. And notification queue will push the notification object to notification center to dispatch.

Now what action is taking place when notification queue push a new notification object to notification center. I'm not finding a necessary tutorial in google. Please provide a good link which talks about action of dispatch table.

Thanks,


Solution

  • Please check out the "Notification Queue Basics" section of the "Notification Queues" chapter of the "Notification Programming Topics". It contains a good explanation of the process of posting notifications.