釋出通知
迅速
NSNotificationCenter.defaultCenter().postNotificationName("TestNotification", object: self)
Objective-C
[[NSNotificationCenter defaultCenter] postNotificationName:@"TestNotification" object:nil];
NSNotificationCenter.defaultCenter().postNotificationName("TestNotification", object: self)
[[NSNotificationCenter defaultCenter] postNotificationName:@"TestNotification" object:nil];