Contents

URL.FormatStyle.Component

An enumeration of the components of a URL, for use in creating format style options that depend on a component’s value.

Declaration

enum Component

Overview

You use this type with style-modifying methods like displayWhen(_:matches:) in URL.FormatStyle.ComponentDisplayOption and omitWhen(_:matches:) in URL.FormatStyle.HostDisplayOption.

Topics

URL format style components

See Also

Display options