VOGiftPackageFactory

@protocol VOGiftPackageFactory <NSObject>

- (void)setState:(VOGiftPackageState)state animated:(BOOL)animated completion:(nullable void(^)(void))completion;

- (UIView *)getBackView;

- (UIView *)getFrontView;

@optional

- (CGRect)contentsRect;

- (void)setWrappingData:(VOWrappingData *)wrappingData;

- (void)setLockImageURL:(NSURL *)url;

- (void)revealComplete;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (void)setState:(VOGiftPackageState)state animated:(BOOL)animated completion:(nullable void(^)(void))completion;

    Swift

    func setState(_ state: VOGiftPackageState, animated: Bool, completion: (() -> Void)? = nil)
  • Undocumented

    Declaration

    Objective-C

    - (UIView *)getBackView;

    Swift

    func getBackView() -> UIView
  • Undocumented

    Declaration

    Objective-C

    - (UIView *)getFrontView;

    Swift

    func getFrontView() -> UIView
  • Undocumented

    Declaration

    Objective-C

    - (CGRect)contentsRect;

    Swift

    optional func contentsRect() -> CGRect
  • Undocumented

    Declaration

    Objective-C

    - (void)setWrappingData:(VOWrappingData *)wrappingData;

    Swift

    optional func setWrappingData(_ wrappingData: VOWrappingData)
  • Undocumented

    Declaration

    Objective-C

    - (void)setLockImageURL:(NSURL *)url;

    Swift

    optional func setLockImageURL(_ url: URL)
  • Undocumented

    Declaration

    Objective-C

    - (void)revealComplete;

    Swift

    optional func revealComplete()