Protocol
ParseableFormatStyle
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A type that can convert a given input data type into a representation in an output type.
protocol ParseableFormatStyle : FormatStyle
Topics
Associated Types
Instance Properties
var parseStrategy: Self.StrategyAParseStrategythat can be used to parse thisFormatStyle’s output
Type Properties
static var http: Date.HTTPFormatStylestatic var http: DateComponents.HTTPFormatStylestatic var iso8601: DateComponents.ISO8601FormatStylestatic var iso8601: Date.ISO8601FormatStyle
Type Methods
Default Implementations
Relationships
Inherits From
FormatStyleSwift.DecodableSwift.EncodableSwift.EquatableSwift.Hashable
Conforming Types
Date.FormatStyleDate.HTTPFormatStyleDate.ISO8601FormatStyleDate.VerbatimFormatStyleDateComponents.HTTPFormatStyleDateComponents.ISO8601FormatStyleDecimal.FormatStyleDecimal.FormatStyle.CurrencyDecimal.FormatStyle.PercentFloatingPointFormatStyleFloatingPointFormatStyle.CurrencyFloatingPointFormatStyle.PercentIntegerFormatStyleIntegerFormatStyle.CurrencyIntegerFormatStyle.Percent