DepositCheckViewController

public final class DepositCheckViewController : UIViewController
extension DepositCheckViewController: CheckDepositsDelegate, CaptureDelegate
extension DepositCheckViewController: DismissDelegate
extension DepositCheckViewController: LoadingDelegate, ErrorDelegate

Check deposit view controller. Can be used to easily integrate the SDK.

  • Style customizations that will be applied to the view.

    Declaration

    Swift

    public var style: DepositCheckStyle { get set }
  • Init an DepositCheckViewController without close button.

    Declaration

    Swift

    override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)
  • Init an DepositCheckViewController without close button when created from Interface Builder.

    Declaration

    Swift

    public required init?(coder: NSCoder)
  • Loads an DepositCheckView into the current view controller.

    Declaration

    Swift

    override public func loadView()
  • View has finished loading into the current view controller.

    Declaration

    Swift

    override public func viewDidLoad()
  • Called when the view is about to made visible.

    Declaration

    Swift

    override public func viewWillAppear(_ animated: Bool)

    Parameters

    animated

    If true, the view is being added to the window using an animation.

  • Called when the view is made visible.

    Declaration

    Swift

    override public func viewDidAppear(_ animated: Bool)

    Parameters

    animated

    If true, the view is being added to the window using an animation.

  • Called when the view is dismissed, covered or otherwise hidden.

    Declaration

    Swift

    override public func viewWillDisappear(_ animated: Bool)

    Parameters

    animated

    If true, the disappearance of the view is being animated.

  • This method is called when the view controller’s view’s size is changed by its parent (i.e. for the root view controller when its window rotates or is resized).

    Declaration

    Swift

    override public func viewWillTransition(to size: CGSize,
                                            with coordinator: UIViewControllerTransitionCoordinator)

Delegate

  • Deposited check successfully.

    Declaration

    Swift

    public func didDepositCheck(_ check: Check)

    Parameters

    check

    The Check model.

  • An event occured on the SDK.

    Declaration

    Swift

    public func didHandleEvent(_ event: String, metadata: [String : String]?)

    Parameters

    event

    event name.

    metadata

    optional dictionary with details about the event that has occurred.

DismissDelegate

  • Defines a method to dismiss the view.

    Declaration

    Swift

    public func dismiss()

ViewDelegate