AddNoteViewControllerDelegate
@protocol AddNoteViewControllerDelegate <NSObject>
/**
This delegate callback occurs when the user has finished creating a note.
@param note - The `NoteMedia` containing information about the created note.
@param noteView - The styled `UIView` containing the note, to be used to render and dropped in envelope.
**/
- (void)didAddNote:(NoteMedia *)note noteView:(UIView *)noteView;
// TODO: RB - this may no longer be needed
- (void)didEditNote:(NoteMedia *)note noteView:(UIView *)noteView;
@end
Undocumented
-
This delegate callback occurs when the user has finished creating a note.
Declaration
Objective-C
- (void)didAddNote:(NoteMedia *)note noteView:(UIView *)noteView;
Swift
func didAddNote(_ note: NoteMedia!, note noteView: UIView!)
Parameters
note
- The
NoteMedia
containing information about the created note.noteView
- The styled
UIView
containing the note, to be used to render and dropped in envelope. * -
Undocumented
Declaration
Objective-C
- (void)didEditNote:(NoteMedia *)note noteView:(UIView *)noteView;
Swift
func didEditNote(_ note: NoteMedia!, note noteView: UIView!)