M5KeyPath 1.0.1

M5KeyPath 1.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2015

Maintained by Mathew Huusko V.



M5KeyPath 1.0.1

Objective-C macro for compile/refactor-safe key path declaration.

Usage

M5KeyPath(OBJECT, PATH_LEVEL_1, PATH_LEVEL_2, PATH_LEVEL_3, ...);

[self.player addObserver:self forKeyPath:M5KeyPath(self.player, currentItem, currentTime) options:0 context:nil];