Enumerations

The following enumerations are available globally.

  • The strategies to decode a value.

    Strategies are used to determine whether the evaluation result sent by the web view is valid or not.

    See more

    Declaration

    Swift

    public enum JSDecodingStrategy<ReturnType>
  • A type providing either a success or an error value, from the result of an operation.

    Note

    This can be removed when migrating to Swift 5.
    See more

    Declaration

    Swift

    public enum Result<Success, Failure> where Failure : Error