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

  • withType :

    The type of value the outcome is.

  • indexPath :

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

  • completion :

    A completion handler the function calls when it is done.

See Also

Handling Task Selection