Last updated:
0 purchases
nd keys observer
nd_keys_observer #
nd_keys_observer is a small library to observe by key path with callback.
NDSubject subject = NDSimpleSubject.create();
subject.observe(["myProperty", "myProperty2.myProperty"], (keys) {
print(keys);
});
//...
subject.didChange(["myProperty.a.b"]);
// [myProperty]
//...
subject.didChange(["myProperty.a, myProperty2"]);
// [myProperty, myProperty2.myProperty]
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.