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