initWithName:regEx:predicateBlock: method of the AUICustomDataCaptureField interface

The method returns an instance of the AUICustomDataCaptureField interface.

- (instancetype)initWithName:(NSString*)name
  regEx:(nullable NSString*)regEx
  predicateBlock:(nullable AUIFieldPredicateBlock)predicateBlock;

Parameters

name
A human-readable name for the field.
regEx
The regular expression to match the field data.
predicateBlock
The user-implemented validation block, represented by a AUIFieldPredicateBlock object, which will be called for further verification of the data after it has passed the regular expression check.

Return values

The method returns an instance of the AUICustomDataCaptureField interface.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.