Structure
CurrencyFormatStyleConfiguration.SignDisplayStrategy
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A structure used to configure sign display strategies for currency format styles.
struct SignDisplayStrategy
Topics
Initializers
Type Properties
static var accounting: CurrencyFormatStyleConfiguration.SignDisplayStrategyA sign display strategy to use accounting principles.static var automatic: CurrencyFormatStyleConfiguration.SignDisplayStrategyA strategy to automatically configure sign display.static var never: CurrencyFormatStyleConfiguration.SignDisplayStrategyA strategy to never show the sign.
Type Methods
static func accountingAlways(showZero: Bool) -> CurrencyFormatStyleConfiguration.SignDisplayStrategyA sign display strategy to use accounting principles, with a configurable behavior for handling zero values.static func always(showZero: Bool) -> CurrencyFormatStyleConfiguration.SignDisplayStrategyA sign display strategy to always show the sign, with a configurable behavior for handling zero values.
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype