VOWrappingPaperMedia
@interface VOWrappingPaperMedia : VOImageMedia
A VOWrappingPaperMedia contains the data to show a wrapping on an VOEnvelopeView.
-
The primary ribbon color that wraps around the
VOWrappingPaperMedia.Declaration
Objective-C
@property (assign, readwrite, nonatomic, nullable) NSString *wrappingRibbonColorHex;Swift
var wrappingRibbonColorHex: String? { get set } -
The secondary ribbon color that wraps around the
VOWrappingPaperMedia.Declaration
Objective-C
@property (assign, readwrite, nonatomic, nullable) NSString *wrappingRibbonColorHex2;Swift
var wrappingRibbonColorHex2: String? { get set } -
Internal id used to map
VOWrappingPaperMedia‘s to theirVOWrappingPaperCategory.Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSString *categoryId;Swift
var categoryId: String? { get } -
The search text that is searched with Google Images for a
VOWrappingPaperMedia.Declaration
Objective-C
@property (assign, readwrite, nonatomic, nullable) NSString *searchText;Swift
var searchText: String? { get set } -
Default initializer for a
VOWrappingPaperMedia.Declaration
Objective-C
+ (nonnull VOWrappingPaperMedia *)wrappingPaperMediaFromDictionary: (nonnull NSDictionary *)dictionary;Swift
/*not inherited*/ init(from dictionary: [AnyHashable : Any])Parameters
dictionary- the dictionary of properties of a
VOWrappingPaperMedia.Return Value
Instance of
VOWrappingPaperMedia. -
Declaration
Objective-C
+ (nonnull VOWrappingPaperMedia *)defaultWrappingPaperMedia;Swift
class func `default`() -> VOWrappingPaperMediaReturn Value
a
VOWrappingPaperMediawith imageData fromdefault_wrapping_paper.png. -
Converts a
VOWrappingPaperMediato an NSDictionary that can be used for caching or sending to the server.Declaration
Objective-C
- (nonnull NSDictionary *)dictionaryRepresentation;Swift
func dictionaryRepresentation() -> [AnyHashable : Any]Return Value
dictionary - Dictionary form of a
VOWrappingPaperMedia.
View on GitHub
VOWrappingPaperMedia Class Reference