NSNotificationCenter selector not being called
问题 In my iPad app, in one class I register for a notification: NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc addObserver:self selector:@selector(selectedList:) name:@"TTSelectedList" object:nil]; My selectedList: method looks like this: - (void)selectedList:(NSNotification*)notification { NSLog(@"received notification"); } Then in another class (a UITableViewController ) I post that notification when a row is selected: - (void)tableView:(UITableView *)tableView