Custom Views
-
See moreVouchrWebImage
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 subclassUIImageView
but can be used in place of one, as it follows a similar protocol.Declaration
Objective-C
@interface VouchrWebImageView : FBShimmeringView
Swift
class VouchrWebImageView : FBShimmeringView
-
See moreSealedVoucherView
is a sealedEnvelopeView
. It shows ribbons and a seal overtop of anEnvelopeView
.Declaration
Objective-C
@interface SealedVoucherView : UIView
Swift
class SealedVoucherView : UIView
-
See moreCreationItemImageView
is the view that is dropped into theEnvelopeView
of theVoucherCreationViewController
. It represents a chosenPersonalizationOption
object by the creatingUser
.Declaration
Objective-C
@interface CreationItemImageView : YYAnimatedImageView
Swift
class CreationItemImageView : YYAnimatedImageView
-
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.Declaration
Objective-C
@protocol VouchrLoadingViewProtocol
Swift
protocol VouchrLoadingViewProtocol