NotifiCationCenter统制使用

NotifiCationCenter控制使用NSNotificationCenter第一种,这个只是传值,通过NSNotification获取,当然也可以

NotifiCationCenter控制使用
NSNotificationCenter

第一种,这个只是传值,通过NSNotification获取,当然也可以直接使用obj

注册A


响应B


第二种多值传输(obj)
注册A
- (void) keyboardWillShow:(NSNotification *)aNotification{        NSDictionary *userInfo = [aNotification userInfo];}