DBValidator icon indicating copy to clipboard operation
DBValidator copied to clipboard

Add "printf" message

Open diviak opened this issue 12 years ago • 0 comments

Would be nice to use something like this:

DBValidationStringLengthRule *stringLengthRule = [[DBValidationStringLengthRule alloc] initWithObject:_password keyPath:@"text" minStringLength:1 maxStringLength:50 failureMessage:@"Please provide password between %i %i"]; [_password addValidationRule:stringLengthRule];

Where you will replace min and max Please provide password between %i %i"

Thanks

diviak avatar Oct 01 '13 09:10 diviak