An open API service indexing awesome lists of open source software.

https://github.com/rannie/hrkeyvalueobserver

Lightness KVO helper.
https://github.com/rannie/hrkeyvalueobserver

Last synced: 8 months ago
JSON representation

Lightness KVO helper.

Awesome Lists containing this project

README

          

HRKeyValueObserver
==================

## Description



A lightness KVO helper class.


Avoid excessive KVO code.

## Usage



Single keypath observer

- (instancetype)initWithObject:(id)object keyPath:(NSString *)keyPath target:(id)target selector:(SEL)selector;



Keypaths perform one selector

- (instancetype)initWithObject:(id)object keyPathList:(NSArray *)keyPaths target:(id)target selector:(SEL)selector;



Keypaths perform different selectors

- (instancetype)initWithObject:(id)object keyPathSelectorMap:(NSDictionary *)map target:(id)target;