NotePersonalizationOption
@interface NotePersonalizationOption : PersonalizationOption
NotePersonalizationOption represents a Voucher customization which will be available to the user to add notes in the VoucherCreationViewController. Instantiate a NotePersonalizationOption if you would like the user to be able to add notes to their Voucher.
*
-
The list of fonts that users will be have access to when creating a note. *
Declaration
Objective-C
@property (readonly, nonatomic) NSArray<NSString *> *fontNames;Swift
var fontNames: [String]! { get } -
The list of fonts that users will be have access to when creating a note. Default list is: navy, black and red. *
Declaration
Objective-C
@property (readonly, nonatomic) NSArray<UIColor *> *fontColors;Swift
var fontColors: [UIColor]! { get } -
Theme used on NotesPersonalization.
Note
Default isVouchrConfigdefaultTheme. *Declaration
Objective-C
@property (readwrite, strong, nonatomic) VouchrTheme *theme;Swift
var theme: VouchrTheme! { get set } -
@brief Creates a Note personalization option with the properties set in the builder. Internally calls initWithBuilder.
Declaration
Objective-C
+ (instancetype)notePersonalizationOptionWithBuilderBlock: (void (^)(NotePersonalizationOptionBuilder *))builderBlock;Swift
convenience init!(builderBlock: ((NotePersonalizationOptionBuilder?) -> Void)!)Parameters
builderBlock- the builder block with specified values for each property.
Return Value
instancetype - PhotoPersonalizationOption object.
View on GitHub
NotePersonalizationOption Class Reference