VOAddNoteViewController

@interface VOAddNoteViewController : UIViewController <VOPersonalizationOptionViewControllerProtocol, VORevealPersonalizationViewControllerProtocol>

/**
 Default instantiation method for `VOAddNoteViewController`
 
 @param personalizationOption - contains the configuration options for the note creation
 @param createManager - the manager responsible for handling the flow management in the creation process.
 @param createFlowDelegate - the object responsible for implementing VOAddNoteViewController callbacks
 @return an instance of VOAddNoteViewController
 **/
+ (instancetype)viewControllerWithPersonalizationOption:(VOPersonalizationOption *)personalizationOption
                                          createManager:(VOVoucherCreationManager *)createManager
                                     createFlowDelegate:(nullable id<VOVoucherCreationFlowDelegate>)createFlowDelegate;

/**
 Overloaded instantiation method for 'VOAddNoteViewController' - used to hande the case when a specific note is to be edited
 
 @param personalizationOption - contains the configuration options for the note creation
 @param createManager - the manager responsible for handling the flow management in the creation process.
 @param createFlowDelegate - the object responsible for implementing VOAddNoteViewController callbacks
 @param note - the note to be edited; if this is set a specific note will be loaded, otherwise all notes will be loaded
 @return an instance of VOAddNoteViewController
 **/
+ (instancetype)viewControllerWithPersonalizationOption:(VOPersonalizationOption *)personalizationOption
                           createManager:(VOVoucherCreationManager *)createManager
                      createFlowDelegate:(nullable id<VOVoucherCreationFlowDelegate>)createFlowDelegate
                              toBeEdited:(nullable VONoteMedia *)note;

@end

Undocumented

  • Default instantiation method for VOAddNoteViewController

    Declaration

    Objective-C

    + (nonnull instancetype)
        viewControllerWithPersonalizationOption:
            (nonnull VOPersonalizationOption *)personalizationOption
                                  createManager:(nonnull VOVoucherCreationManager *)
                                                    createManager
                             createFlowDelegate:
                                 (nullable id<VOVoucherCreationFlowDelegate>)
                                     createFlowDelegate;

    Parameters

    personalizationOption

    - contains the configuration options for the note creation

    createManager

    - the manager responsible for handling the flow management in the creation process.

    createFlowDelegate

    - the object responsible for implementing VOAddNoteViewController callbacks

    Return Value

    an instance of VOAddNoteViewController *

  • Overloaded instantiation method for ‘VOAddNoteViewController’ - used to hande the case when a specific note is to be edited

    Declaration

    Objective-C

    + (nonnull instancetype)
        viewControllerWithPersonalizationOption:
            (nonnull VOPersonalizationOption *)personalizationOption
                                  createManager:(nonnull VOVoucherCreationManager *)
                                                    createManager
                             createFlowDelegate:
                                 (nullable id<VOVoucherCreationFlowDelegate>)
                                     createFlowDelegate
                                     toBeEdited:(nullable VONoteMedia *)note;

    Parameters

    personalizationOption

    - contains the configuration options for the note creation

    createManager

    - the manager responsible for handling the flow management in the creation process.

    createFlowDelegate

    - the object responsible for implementing VOAddNoteViewController callbacks

    note

    - the note to be edited; if this is set a specific note will be loaded, otherwise all notes will be loaded

    Return Value

    an instance of VOAddNoteViewController *