发通知
NSNotification *deleteMyCommemtN =[NSNotification notificationWithName:@"deleteMyCommemt" object:nil userInfo:dictM];
[[NSNotificationCenter defaultCenter] postNotification:deleteMyCommemtN];
接收通知
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(sendCommemt:)name:@"sendCommemt" object:nil];
方法调用
-(void)deleteMyCommemt:(NSNotification *)dict
{
}
网友评论