Other Classes

The following classes are available globally.

  • A custom navigation bar button that displays a stack of subviews.

    Use the GiniBarButton class to create a custom toolbar button with a stack of subviews. This allows you to customize the appearance and behavior of the button by adding and configuring subviews within the stack view. The GiniBarButton class provides a convenient interface for creating a UIBarButtonItem with a custom view, and includes several helper methods for managing the subviews of the stack view.

    See more

    Declaration

    Swift

    public final class GiniBarButton
    • internal only

    MultilineTitleButton is a subclass of UIButtonand it allows for multiple lines of text to be displayed in the button’s title, and the button’s size is adjusted to fit the text. The content hugging priority is set s o that the button’s width and height can be adjusted by the Auto Layout system. *

    See more

    Declaration

    Swift

    public class MultilineTitleButton : UIButton
  • The GiniColor class allows to customize color for the light and the dark modes.

    See more

    Declaration

    Swift

    @objc
    public class GiniColor : NSObject
  • Undocumented

    See more

    Declaration

    Swift

    public class Constraints
  • Undocumented

    See more

    Declaration

    Swift

    public final class QRCodesExtractor
  • Undocumented

    See more

    Declaration

    Swift

    public final class DefaultLogger : GiniLogger
  • Undocumented

    See more

    Declaration

    Swift

    public class GiniCaptureErrorLogger : GiniCaptureErrorLoggerDelegate
  • 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.

    See more

    Declaration

    Swift

    @objcMembers
    public final class AnalysisViewController : UIViewController
  • Undocumented

    See more

    Declaration

    Swift

    public final class Camera2ViewController : UIViewController, CameraScreen
  • Undocumented

    See more

    Declaration

    Swift

    public final class CameraButtonsViewModel
  • The DocumentPickerCoordinator class allows you to present both the gallery and file explorer or to setup drag and drop in a view. If you want to handle the picked elements, you have to assign a DocumentPickerCoordinatorDelegate to the delegate property. When using multipage and having imported/captured images, you have to update the isPDFSelectionAllowed property before showing the File explorer in order to filter out PDFs.

    See more

    Declaration

    Swift

    public final class DocumentPickerCoordinator : NSObject
    extension DocumentPickerCoordinator: UIDocumentPickerDelegate
    extension DocumentPickerCoordinator: UIDropInteractionDelegate
  • The ImageOnboardingIllustrationAdapter class implements the OnboardingIllustrationAdapter protocol to provide an image-based illustration for an onboarding view.

    See more

    Declaration

    Swift

    public class ImageOnboardingIllustrationAdapter : OnboardingIllustrationAdapter
  • The OnboardingImageView class represents a custom UIView used for displaying onboarding illustrations.

    See more

    Declaration

    Swift

    public class OnboardingImageView : UIView
  • The ReviewViewController provides a custom review screen. The user has the option to check for blurriness and document orientation. If the result is not satisfying, the user can return to the camera screen. The photo should be uploaded to Gini’s backend immediately after having been taken as it is safe to assume that in most cases the photo is good enough to be processed further.

    See more

    Declaration

    Swift

    public final class ReviewViewController : UIViewController
    extension ReviewViewController: UICollectionViewDataSource
    extension ReviewViewController: UICollectionViewDelegateFlowLayout
  • Undocumented

    See more

    Declaration

    Swift

    open class GiniScreenAPICoordinator : NSObject, Coordinator
    extension GiniScreenAPICoordinator: AnalysisDelegate
    extension GiniScreenAPICoordinator: CameraViewControllerDelegate
    extension GiniScreenAPICoordinator: DocumentPickerCoordinatorDelegate
    extension GiniScreenAPICoordinator: UploadDelegate
    extension GiniScreenAPICoordinator: ReviewViewControllerDelegate
    extension GiniScreenAPICoordinator: UINavigationControllerDelegate
  • Undocumented

    See more

    Declaration

    Swift

    public final class DocumentService : DocumentServiceProtocol
  • Undocumented

    See more

    Declaration

    Swift

    public class GiniNetworkingScreenAPICoordinator : GiniScreenAPICoordinator
    extension GiniNetworkingScreenAPICoordinator: GiniCaptureDelegate