GiniHealthImage

public enum GiniHealthImage : String

The GiniHealthImage enumeration provides a convenient way to manage image assets within the Gini SDK, supporting customization for both light and dark modes. Each case in the enumeration represents a specific image asset used by the SDK.

Note

The raw values for each case correspond to the image asset names in the asset catalog.
  • Undocumented

    Declaration

    Swift

    case logo = "gh.giniLogo"
  • Undocumented

    Declaration

    Swift

    case info = "gh.infoCircle"
  • Undocumented

    Declaration

    Swift

    case close = "gh.close"
  • Undocumented

    Declaration

    Swift

    case more = "gh.more"
  • Undocumented

    Declaration

    Swift

    case plus = "gh.plus"
  • Undocumented

    Declaration

    Swift

    case minus = "gh.minus"
  • Undocumented

    Declaration

    Swift

    case appStore = "gh.appStoreIcon"
  • Undocumented

    Declaration

    Swift

    case chevronDown = "gh.iconChevronDown"
  • Undocumented

    Declaration

    Swift

    case selectionIndicator = "gh.selectionIndicator"
  • Undocumented

    Declaration

    Swift

    case paymentReviewClose = "gh.paymentReviewClose"
  • Undocumented

    Declaration

    Swift

    case lock = "gh.iconInputLock"
  • Retrieves an image corresponding to the enumeration case, prioritizing the client’s bundle. If the image is not found in the client’s bundle, it attempts to load the image from the Gini Health SDK bundle.

    Declaration

    Swift

    public func preferredUIImage() -> UIImage

    Return Value

    An UIImage instance corresponding to the enumeration case. If the image cannot be found in either the client’s bundle or the Gini Health SDK bundle, the method triggers a runtime error.