Custom Views

  • VouchrWebImage is a convenience view that is capable of asynchronously downloading images. During download of the image, the view will shimmer, resembling a loading state. This view does not subclass UIImageView but can be used in place of one, as it follows a similar protocol.

    See more

    Declaration

    Objective-C

    @interface VouchrWebImageView : FBShimmeringView

    Swift

    class VouchrWebImageView : FBShimmeringView
  • SealedVoucherView is a sealed EnvelopeView. It shows ribbons and a seal overtop of an EnvelopeView.

    See more

    Declaration

    Objective-C

    @interface SealedVoucherView : UIView

    Swift

    class SealedVoucherView : UIView
  • The VouchrLoadingViewProtocol is responsible for animating any custom loading view. It is used for fullscreen loading views.

    Note

    User is responsible for adding the loading view as a subview and constraining it to the view it should appear on.
    See more

    Declaration

    Objective-C

    @protocol VouchrLoadingViewProtocol

    Swift

    protocol VouchrLoadingViewProtocol