NSNotificationCenter メモ
Notificationを登録
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(メソッド名) name:通知名 object:nil];
通知する
[[NSNotificationCenter defaultCenter] postNotificationName:通知名 object:nil];
Notificationを登録
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(メソッド名) name:通知名 object:nil];
通知する
[[NSNotificationCenter defaultCenter] postNotificationName:通知名 object:nil];