オブジェクトと送信者で通知を投稿する方法がわからないようです。
名前、送信者、ユーザー情報を記載した通知を投稿できます。見る:
- (void)postNotificationName:(NSString *)notificationName
object:(id)notificationSender
userInfo:(NSDictionary *)userInfo
また、オブジェクトを使用してNSNotificationを投稿することはできますが、送信者をオブジェクトにリンクすることはできません。
NSNotification *notification = [NSNotification notificationWithName:name
object:someObject];
[[NSNotificationCenter defaultCenter] postNotification:notification];
(a)オブジェクトと(b)送信者参照を使用して通知を投稿する方法を教えてもらえますか?