Initializerswift 6.0.3FoundationInternationalization
init(from:)
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
s30FoundationInternationalization32CurrencyFormatStyleConfigurationO19SignDisplayStrategyV4fromAEs7Decoder_p_tKcfc
What are these?7MW07
import FoundationInternationalization
struct SignDisplayStrategy
enum CurrencyFormatStyleConfiguration
protocol Decoder
A type that can decode values from a native format into in-memory representations.
static var accounting: CurrencyFormatStyleConfiguration.SignDisplayStrategy { get }
static var automatic: CurrencyFormatStyleConfiguration.SignDisplayStrategy { get }
static var never: CurrencyFormatStyleConfiguration.SignDisplayStrategy { get }
static func accountingAlways(showZero: Bool = false) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy
static func always(showZero: Bool = true) -> CurrencyFormatStyleConfiguration.SignDisplayStrategy