in something like this you can set the cell background colour, font etc to something RED and when is valid set it to clear or what ever colour it was before
can also then use the property whereby the nav DONE button is not enabled when fields are invalid
// Objective-C
cellActions.valueIsValid = ^BOOL(SCTableViewCell *cell, NSIndexPath *indexPath)
{
BOOL valid = NO;
if([cell isKindOfClass:[SCTextFieldCell class]])
{
SCTextFieldCell *textFieldCell = (SCTextFieldCell *)cell;
// Make sure the password field is at least 8 characters long
if([textFieldCell.textField.text length] >= 8)
valid = YES;
}
return valid;
};
// Swift
cellActions.valueIsValid =
{
(cell, indexPath)->Bool in
var valid = false
if let textFieldCell = cell as? SCTextFieldCell
{
// Make sure the password field is at least 8 characters long
if countElements(textFieldCell.textField.text) >= 8
{
valid = true
}
}
return valid
}