摘要: 44、不带参数通知的使用//新建通知[[NSNotificationCenterdefaultCenter]addObserver:selfselector:@selector(newMsg)name:@"newmsg1"object:nil];//通知调用的方法-(void)newMsg{}//调用通知[[NSNotificationCenterdefaultCenter]postNotificationName:@"newmsg"object:self];45、带参数通知的使用//新建通知[[NSNotificationCenterdefaultCe 阅读全文
posted @ 2012-07-11 19:46 ValeTu 阅读(199) 评论(0) 推荐(0) 编辑