Contents

init(_:)

Creates a URL representation for an app enum using the provided dictionary.

Declaration

init(_ urlRepresentations: [Enum : EnumURLRepresentation<Enum>.EnumSingleURLRepresentation])

Parameters

  • urlRepresentations:

    A dictionary of enum values and strings. Use this dictionary to map different strings to each case of the enumeration.

Discussion

Use this initializer when the URLs for each case differ significantly.