ALResult Class Reference

Inherits from NSObject
Declared in ALResult.h

Overview

The ALResult encapsulates all the neccessary objects and data for the text recognition client.

  specs

The specs used to generate the result

@property (nonatomic, strong) ALROISpec *specs

Declared In

ALResult.h

  valid

Valid returns YES if we got a valid result for every identifier.

@property (nonatomic) BOOL valid

Declared In

ALResult.h

– identifiers

All the identifiers in which the digits are divided. Identifiers are all strings. There is no special sort order.

- (NSArray *)identifiers

Return Value

All the identifiers in the display.

Declared In

ALResult.h

– resultForIdentifier:

Returns the validated result object for an identifier or nil if identifier does not exist or no valid result was found for the identifier.

- (id)resultForIdentifier:(NSString *)identifier

Parameters

identifier

The identifier for a result.

Return Value

The result for the identifier. Return the object set by the validator

Declared In

ALResult.h