ComputeUnitDelegatable

public protocol ComputeUnitDelegatable

protocol for implementing ComputeUnitDelegate not used at the moment

  • Undocumented

    Declaration

    Swift

    public protocol ComputeUnitDelegatable
  • gets called everytime a new result is set

    Declaration

    Swift

    func computeUnitUpdatedResults()
  • gets called everytime a new result is set. Gives you direct access to the element.

    Declaration

    Swift

    func computeUnitCompletedResult(_ result: Any)
  • gets called if something went wrong not implemented yet

    Declaration

    Swift

    func computeFailedProducingResults(element: Any, error: Error)