One of my class named Message.m is posting a notification with an object sentObject
as below
NSDictionary *sentObject = [NSDictionary dictionary
For anyone interested in apple's documentation. This is what it says:
notificationSender
The object whose notifications the observer wants to receive; that is, only notifications sent by this sender are delivered to the observer. If you pass nil, the notification center doesn’t use a notification’s sender to decide whether to deliver it to the observer.