MNCoreNotificationManager
@objc
open class MNCoreNotificationManager : NSObject
                It represents an observable object. An observable object can have one or more observers.
- 
                  
                  
Singleton pattern to get the core notification itself.
Declaration
Swift
@objc public static let main: MNCoreNotificationManager - 
                  
                  
Notification types.
See moreDeclaration
Swift
@objc public enum MNCoreNotificationType : Int - 
                  
                  
When notification fired with userInfos, here are the keys used inside userInfo.
See moreDeclaration
Swift
public enum objKey : String 
- 
                  
                  
This function adds a specific type observer to a set of observers. Then post notification of the type immediately.
See also
addObserveronly adds an observer, not post.Declaration
Swift
public func addObserverAndPost(type: MNCoreNotificationType, observer: AnyObject, selector: Selector)Parameters
typeThe notification type.
observerThe object that is watching for notifications.
selectorThe selector.
 - 
                  
                  
This function adds a specific type observer to a set of observers.
See also
addObserverAndPostnot only adds an observer, also post immediately.Declaration
Swift
public func addObserver(type: MNCoreNotificationType, observer: AnyObject, selector: Selector)Parameters
typeThe notification type.
observerThe object that is watching for notifications.
selectorThe selector.
 - 
                  
                  
This function removes all observers.
See also
UseremoveObserverif you want to remove only one type of observer.Declaration
Swift
public func removeAllObservers(observer: AnyObject)Parameters
observerThe objects that are not watching notifications.
 - 
                  
                  
This function removes a specific type of observer from the set of observers.
See also
UseremoveAllObserverif you want to remove all observers.Declaration
Swift
public func removeObserver(type: MNCoreNotificationType, observer: AnyObject)Parameters
typeThe notification type of the observer.
observerThe objects that are not watching notifications.
 
      MNCoreNotificationManager Class Reference