Developer's Documentation for free mobile OCR SDK

Documentation Menu

RTRDataFieldBuilder protocol

The protocol for a field builder object which allows you to set the name and rules for the data field.


Name Type Description
id NSString*, read-only Field identifier.




- setName:

Sets the name of the field.

- setPredicateBlock:  

Sets the user-implemented 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.

- setRegEx:

Sets the regular expression to which the data in the field should conform.