会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
13800138000
开发者
博客园
首页
新随笔
联系
订阅
管理
2012年7月18日
自定义NSNotificationCenter的使用
摘要: 1、在需要接收NSNotification的类里面的init方法中添加Observer,同时添加对应的处理方法,如: 在需要处理的类Class1的init方法中[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notificationFunc:) name:NOTIFY_FUNC_DEMO objec...
阅读全文
posted @ 2012-07-18 13:21 easonoutlook
阅读(361)
评论(0)
推荐(0)
编辑