initiateDeletionForOutcomeValue(atIndex:eventIndexPath:deletionCompletion:)
Returns an alert controller with localized text, to confirm deleting an outcome.
Declaration
func initiateDeletionForOutcomeValue(atIndex index: Int, eventIndexPath: IndexPath, deletionCompletion: ((Result<OCKAnyOutcome, Error>) -> Void)?) throws -> UIAlertControllerParameters
- index :
The location in an array of outcome values.
- eventIndexPath :
The section and row of the event.
- deletionCompletion :
A completion handler that is called when the store deletes the outcome.