Posting a Notification
suggest changeSwift
NSNotificationCenter.defaultCenter().postNotificationName("TestNotification", object: self)
Objective-C
[[NSNotificationCenter defaultCenter] postNotificationName:@"TestNotification" object:nil];
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents