Closed mergesort closed 9 years ago
I was using version 1.2, and just updated to 2.0. I noticed it included a breaking change, and won't compile now, but can't find any documentation on it.
The code I had looked like this
[self rz_addTarget:self action:@selector(reloadAppIntegrations) forKeyPathChange:RZDB_KP(self.tableDataSource.appIntegrations) callImmediately:NO];
It looks like the RZDB_KP was removed, so I'm wondering how do I pass in a keyPath (preferably not as a string?) to create the binding on.
RZDB_KP
Thanks a lot!
Never mind... I just realized that was moved to RZDBMacros.h, and switched to @import RZDataBinding syntax and everything works now.
RZDBMacros.h
@import RZDataBinding
I was using version 1.2, and just updated to 2.0. I noticed it included a breaking change, and won't compile now, but can't find any documentation on it.
The code I had looked like this
It looks like the
RZDB_KP
was removed, so I'm wondering how do I pass in a keyPath (preferably not as a string?) to create the binding on.Thanks a lot!