NSNotificationCenter 用法
来源:互联网 发布:java研发工程师深圳 编辑:程序博客网 时间:2024/06/05 02:55
1. 定义一个方法
update
2. [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(update) name:@"update" object:nil]
3. 在要发出通知消息的地方
[[NSNotificationCenter defaultCenter] postNotificationName:@"update" object:nil];
看贴请回帖!
- NSNotificationCenter 用法
- NSNotificationCenter 用法
- NSNotificationCenter用法
- NSNotificationCenter用法实例
- NSNotificationCenter用法总结
- NSNotificationCenter 用法总结
- NSNotificationCenter用法总结
- NSNotificationCenter用法总结
- NSNotificationCenter 用法详解
- NSNotificationCenter用法总结
- NSNotificationCenter用法总结
- NSNotificationCenter 用法注意点
- NSNotificationCenter用法总结
- 通知基本用法NSNotificationCenter
- NSNotificationCenter 用法 一个简单的使用 NSNotificationCenter 的代码例子
- NSNotificationCenter
- NSNotificationCenter
- NSNotificationCenter
- 让程序进入ring0级执行
- 项目实施就是做人(二)----能不能明确责任?
- 项目雏形体验
- 如何设置socket的Connect超时(linux)
- WWWW
- NSNotificationCenter 用法
- 【转】函数指针数组的妙用
- CPU卡发卡程序设计过程中应当注意的几个问题
- 城市新56个漂泊族 你是哪漂泊一族?
- sd 卡的一些基本操作
- jdbc连接池
- 拼图游戏分析
- Void作用(适合初学者)
- 破解RSA的一些技术