私のコードは次の場所でクラッシュしています:
[[NSNotificationCenter defaultCenter] postNotificationName:kgotNotification object:dictionary];
私の仮定は、オブザーバーが追加される前に通知を投稿していることです。
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getItems:) name:kgotNotification object:nil];
通知を投稿する前に、アクティブなオブザーバーのリストを確認する方法はありますか?