Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XLForm detect change to row value

Tags:

ios

xlform

I'm starting to use the very excellent XLForm project (https://github.com/xmartlabs/XLForm) for iOS, however I've run into something that could possibly really easy to answer yet I can't figure it out.

I want to detect the change in a row's value - for example a text field or a segmented control. What method do I need to implement to catch this change? I'm guessing that it comes from the controls themselves but I'm not clear exactly how to get at it since XLForm manages the controls.

Thanks very much!

like image 942
hocker Avatar asked Jan 11 '23 00:01

hocker


1 Answers

-(void)formRowDescriptorValueHasChanged:(XLFormRowDescriptor *)formRow oldValue:(id)oldValue newValue:(id)newValue{

}
like image 72
Gank Avatar answered Jan 22 '23 18:01

Gank