Style
public enum Style : Hashable
Style is used to configure how a CompassDirectionFormatter
translates a compass direction into a String.
-
When a
CompassDirectionFormatteris configured to use theshortstyle, it uses an abbreviation of the compass direction, like “N” for north or “NE” for northeast.Declaration
Swift
case short -
When a
CompassDirectionFormatteris configured to use thelongstyle, it uses full descriptions of the compass direction, like “north” or “northeast.”Declaration
Swift
case long
Style Enumeration Reference