C# Class iOSHelpers.NSObjectExtensions.ObserverHelper

Inheritance: NSObject
Show file Open project: Clancey/iOSHelpers

Public Properties

Property Type Description
Actions Dictionary>>

Public Methods

Method Description
Add ( NSObject obj, string key, System.Action action ) : void
ObserveValue ( NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context ) : void
Remove ( NSObject obj, string key ) : void

Method Details

Add() public method

public Add ( NSObject obj, string key, System.Action action ) : void
obj NSObject
key string
action System.Action
return void

ObserveValue() public method

public ObserveValue ( NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context ) : void
keyPath NSString
ofObject NSObject
change NSDictionary
context System.IntPtr
return void

Remove() public method

public Remove ( NSObject obj, string key ) : void
obj NSObject
key string
return void

Property Details

Actions public property

public Dictionary>> Actions
return Dictionary>>