NSNotificationCenter--消息机制

用法:  [[NSNotificationCenter defaultCenter] postNotificationName:@"事件名称" object:nil];  //发出通知  [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(abc:) name:@"事件名称" object:nil];
相关文章
相关标签/搜索