VONotePersonalizationOption
@interface VONotePersonalizationOption : VOPersonalizationOption
VONotePersonalizationOption represents a VOVoucher customization which will be available to the user to add notes in the voucher creation view controller. Instantiate a VONotePersonalizationOption if you would like the user to be able to add notes to their VOVoucher. *
-
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 }
-
@brief Creates a Note personalization option with the properties set in the builder. Internally calls initWithBuilder.
Declaration
Objective-C
+ (instancetype)notePersonalizationOptionWithBuilderBlock: (void (^)(VONotePersonalizationOptionBuilder *))builderBlock;
Swift
convenience init!(builderBlock: ((VONotePersonalizationOptionBuilder?) -> Void)!)
Parameters
builderBlock
- the builder block with specified values for each property.
Return Value
instancetype - VOPhotoPersonalizationOption object.