FeedbackViewControllerDelegate
public protocol FeedbackViewControllerDelegate : AnyObject, UnimplementedLogging
The FeedbackViewControllerDelegate
protocol provides methods for responding to feedback events.
-
feedbackViewControllerDidOpen(_:)
Default implementationCalled when the user opens the feedback form.
Default Implementation
UnimplementedLogging
prints a warning to standard output the first time this method is called.Declaration
Swift
func feedbackViewControllerDidOpen(_ feedbackViewController: FeedbackViewController)
-
Called when the user submits a feedback event.
Declaration
Swift
func feedbackViewController(_ feedbackViewController: FeedbackViewController, didSend feedbackItem: FeedbackItem, feedback: FeedbackEvent)
-
feedbackViewControllerDidCancel(_:)
Default implementationCalled when a
FeedbackViewController
is dismissed for any reason without giving explicit feedback.Default Implementation
UnimplementedLogging
prints a warning to standard output the first time this method is called.Declaration
Swift
func feedbackViewControllerDidCancel(_ feedbackViewController: FeedbackViewController)
-
feedbackViewController(_:didSend:uuid:)
Extension methodUnimplementedLogging
prints a warning to standard output the first time this method is called.Declaration
Swift
func feedbackViewController(_ feedbackViewController: FeedbackViewController, didSend feedbackItem: FeedbackItem, uuid: UUID)