Attribution

public struct Attribution : Hashable

Holds all the data on a URL address to an external resource.

  • An URL address that links to a particular resource.

    Declaration

    Swift

    public var href: String?
  • Text describing the url address (e.g. The example website).

    Declaration

    Swift

    public var text: String
  • The interactive (or clickable) portion of the text. If not present (default), the entire content of the text attribute will be considered.

    Declaration

    Swift

    public var hrefText: String?
  • Attribution link type.

    Declaration

    Swift

    public var type: AttributionType