I have a ButtonCell, which i want to hide using bindings, when the NSString value at keyPath
key1.key2
is larger than 3 character, but the binding offers me only
NSIsNotNil, NSIsNil,...
which doesnt apply in this case
I have a ButtonCell, which i want to hide using bindings, when the NSString value at keyPath
key1.key2
is larger than 3 character, but the binding offers me only
NSIsNotNil, NSIsNil,...
which doesnt apply in this case
Well In your XIB select you button then as attached in the screens shot follow the steps:-
BOOL isEnable;
you can use this method:
-(void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
in this one you can enable and disable cell according the value in key path