PTRubberStampViewControllerDelegate
@protocol PTRubberStampViewControllerDelegate <NSObject>
A delegate used to respond
-
Notifies the delegate when the user wishes to save new to the document.
Declaration
Objective-C
- (void)rubberStampController: (nonnull PTRubberStampViewController *)rubberStampController addStamp:(nonnull PTCustomStampOption *)stampOption;
Swift
func rubberStamp(_ rubberStampController: PTRubberStampViewController, addStamp stampOption: PTCustomStampOption)
Parameters
stampOption
A stamp option to add to the doc.
-
Notifies the delegate when the controller is dismissed.
Declaration
Objective-C
- (void)rubberStampControllerWasDismissed: (nonnull PTRubberStampViewController *)rubberStampController;
Swift
optional func rubberStampControllerWasDismissed(_ rubberStampController: PTRubberStampViewController)