Contents

appendOutcomeValue(withType:at:completion:)

Adds an outcome value to the array of outcomes for an event.

Declaration

func appendOutcomeValue(withType underlyingType: OCKOutcomeValueUnderlyingType, at indexPath: IndexPath, completion: ((Result<OCKAnyOutcome, Error>) -> Void)?)

Parameters

  • underlyingType :

    The type of value of the outcome.

  • indexPath :

    The location of the collection view event in the task view controller.

  • completion :

    A completion handler that the function calls when it is done.

See Also

Handling Task Selection