Classes

  • Undocumented

    See more

    Declaration

    Swift

    @objcMembers
    public class AnalysisResult : NSObject
  • Errors thrown when running a custom validation.

    See more

    Declaration

    Swift

    @objc
    public class CustomDocumentValidationError : NSError
  • Undocumented

    See more

    Declaration

    Swift

    public class CustomDocumentValidationResult : NSObject
  • The GiniConfiguration class allows customizations to the look and feel of the Gini Capture SDK. If there are limitations regarding which API can be used, this is clearly stated for the specific attribute.

    Note

    Text can also be set by using the appropriate keys in a Localizable.strings file in the projects bundle. The library will prefer whatever value is set in the following order: attribute in configuration, key in strings file in project bundle, key in strings file in GiniCapture bundle.

    Note

    Images can only be set by providing images with the same filename in an assets file or as individual files in the projects bundle. The library will prefer whatever value is set in the following order: asset file in project bundle, asset file in GiniCapture bundle.

    Attention

    If there are conflicting pairs of image and text for an interface element (e.g. navigationBarCameraTitleCloseButton) the image will always be preferred, while making sure the accessibility label is set.
    See more

    Declaration

    Swift

    @objc
    public final class GiniConfiguration : NSObject
  • Undocumented

    See more

    Declaration

    Swift

    final public class GiniImageDocument : NSObject, GiniCaptureDocument
    extension GiniImageDocument: NSItemProviderReading
  • Undocumented

    See more

    Declaration

    Swift

    final public class GiniPDFDocument : NSObject, GiniCaptureDocument
    extension GiniPDFDocument: NSItemProviderReading
  • A Gini Capture document made from a QR code.

    The Gini Capture SDK supports the following QR code formats:

    See more

    Declaration

    Swift

    @objc
    final public class GiniQRCodeDocument : NSObject, GiniCaptureDocument
  • Convenience class to interact with the Gini Capture SDK.

    The Gini Capture SDK provides views for capturing, reviewing and analysing documents.

    By integrating this library in your application you can allow your users to easily take a picture of a document, review it and - by implementing the necessary callbacks - upload the document for analysis to the Gini Bank API.

    The Gini Capture SDK can be integrated in two ways, either by using the Screen API or the Component API. The Screen API provides a fully pre-configured navigation controller for easy integration, while the Component API provides single view controllers for advanced integration with more freedom for customization.

    Important

    When using the Component API we advise you to use a similar flow as suggested in the Screen API. Use the CameraViewController as an entry point with the OnboardingViewController presented on top of it. After capturing let the user review the document with the ReviewViewController and finally present the AnalysisViewController while the user waits for the analysis results.
    See more

    Declaration

    Swift

    @objc
    public final class GiniCapture : NSObject
  • The GiniCaptureDocumentBuilder provides a way to build a GiniCaptureDocument from a Data object and a DocumentSource. Additionally the DocumentImportMethod can bet set after builder iniatilization. This is an example of how a GiniCaptureDocument should be built when it has been imported with the Open with feature.

    let documentBuilder = GiniCaptureDocumentBuilder(data: data, documentSource: .appName(name: sourceApplication))
    documentBuilder.importMethod = .openWith
    let document = documentBuilder.build()
    do {
    try document?.validate()
    ...
    } catch {
    ...
    }
    
    See more

    Declaration

    Swift

    public class GiniCaptureDocumentBuilder : NSObject
  • Undocumented

    See more

    Declaration

    Swift

    public final class GiniCaptureDocumentValidator
  • OnboardingPage represents the onboarding page with all it’s properties.

    See more

    Declaration

    Swift

    public struct OnboardingPage