2

NSDistribtedNotificationCenterに通知を投稿しようとしていますが、コンソールに次のメッセージが表示されます。

3/22/11 10:26:53 PM AIM [138] *ディクショナリではないuserInfo(または有効なプロパティリストではないもの)を無視して、分散通知(AIMIncomingMessages)を投稿しようとしました。

これは何を意味するのでしょうか?

編集:コードは次のとおりです。

[[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"AIMIncomingMessages"
                                                               object:nil
                                                             userInfo:[NSDictionary dictionaryWithObjectsAndKeys:
                                                                       @"Event Source", [NSNumber numberWithInt:3],
                                                                       @"Message:", [arg2 attributedString],
                                                                       @"Username:", [arg3 name],
                                                                       @"Timestamp:", [NSDate date],
                                                                       nil]
                                                   deliverImmediately: YES];
4

1 に答える 1