1.注册通知
//通知 向通知中心注册了一条名为ChangeTextNotification的通知。
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeTextContent:) name:@"ChangeTextNotification" object:nil];
2.发送通知
//利用通知调用更改text的方法
[[NSNotificationCenter defaultCenter] postNotificationName:@"ChangeTextNotification" object:_textField.text];
3.通知所执行的方法
//利用通知执行方法
- (void)changeTextContentByNotification:(NSNotification *)notification
{
id text = notification.object;
_helloField.text = text;
}