setPredicateBlock: method of the RTRDataFieldBuilder protocol
Sets the validation block which will be called for further verification of the data (e.g. calculating the checksum) after it has passed the regular expression check.
- (id<RTRDataFieldBuilder>)setPredicateBlock:(RTRFieldPredicateBlock)predicateBlock;
Parameters
- predicateBlock
- The user-implemented validation block of the type RTRFieldPredicateBlock. May be nil, which means the data will not be verified.
Return values
The method returns the same RTRDataFieldBuilder object on which it was called.
3/2/2022 12:59:15 PM