You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copyright (c) 2015 All in Mobile. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
helper class for KVO, used as alternative for `[obj addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew|NSKeyValueObservingOptionOld|NSKeyValueObservingOptionInitial context:NULL];`, it is guaranteed that observer is removed when object is deallocated
*/
@interface AIMObserver : NSObject
/**
observed object `obj` for `keyPath` and call block passed as `onChange` parameter, *remember to use `weak` pointer to `self` within this block*