FavoriteEditorDelegate

public protocol FavoriteEditorDelegate : NSObjectProtocol

Protocol for the FavoriteDetailController delegate instance.

  • Notification when the FavoriteDetailController is dismissed and editing of a particular Favorite instance is over.

    Declaration

    Swift

    func dismissed(_ index: IndexPath, reason: FavoriteEditorDismissedReason)

    Parameters

    index

    the index of the Favorite that was being edited

    reason

    the reason for the dismissal