AnalysisViewController

@objcMembers
public final class AnalysisViewController : UIViewController

The AnalysisViewController provides a custom analysis screen which shows the upload and analysis activity. The user should have the option of canceling the process by navigating back to the review screen.

  • Undocumented

    Declaration

    Swift

    public weak var trackingDelegate: AnalysisScreenTrackingDelegate?
  • Designated intitializer for the AnalysisViewController.

    Declaration

    Swift

    public init(document: GiniCaptureDocument, giniConfiguration: GiniConfiguration)

    Parameters

    document

    Reviewed document ready for analysis.

    giniConfiguration

    GiniConfiguration instance.

    Return Value

    A view controller instance giving the user a nice user interface while waiting for the analysis results.

  • Convenience intitializer for the AnalysisViewController.

    Declaration

    Swift

    public convenience init(document: GiniCaptureDocument)

    Parameters

    document

    Reviewed document ready for analysis.

    Return Value

    A view controller instance giving the user a nice user interface while waiting for the analysis results.

  • Returns an object initialized from data in a given unarchiver.

    Warning

    Not implemented.

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    public override func viewDidLoad()
  • Undocumented

    Declaration

    Swift

    override public func viewDidAppear(_ animated: Bool)
  • Displays a loading activity indicator. Should be called when document analysis is started.

    Declaration

    Swift

    public func showAnimation()
  • Hides the loading activity indicator. Should be called when document analysis is finished.

    Declaration

    Swift

    public func hideAnimation()