C# Class BBGamelib.NSNotificationCenter

Show file Open project: BigWoodGames/cocos2d-unity

Public Methods

Method Description
NSNotificationCenter ( ) : UnityEngine
addObserver ( System target, Action aSelector, string aName, System sender = null ) : void
addObserverForName ( string aName, System sender, Action block ) : Object
postNotification ( NSNotification n ) : void
postNotification ( string name, System sender, NSDictionary userInfo = null ) : void
removeObserver ( System target ) : void
removeObserver ( System target, string name ) : void
removeObserver ( System target, string name, System sender ) : void

Private Methods

Method Description
observersForName ( string aName ) : List

Method Details

NSNotificationCenter() public method

public NSNotificationCenter ( ) : UnityEngine
return UnityEngine

addObserver() public method

public addObserver ( System target, Action aSelector, string aName, System sender = null ) : void
target System
aSelector Action
aName string
sender System
return void

addObserverForName() public method

public addObserverForName ( string aName, System sender, Action block ) : Object
aName string
sender System
block Action
return System.Object

postNotification() public method

public postNotification ( NSNotification n ) : void
n NSNotification
return void

postNotification() public method

public postNotification ( string name, System sender, NSDictionary userInfo = null ) : void
name string
sender System
userInfo NSDictionary
return void

removeObserver() public method

public removeObserver ( System target ) : void
target System
return void

removeObserver() public method

public removeObserver ( System target, string name ) : void
target System
name string
return void

removeObserver() public method

public removeObserver ( System target, string name, System sender ) : void
target System
name string
sender System
return void