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
s30FoundationInternationalization18IntegerFormatStyleV10AttributedV4fromAEyx_Gs7Decoder_p_tKcfc
What are these?7FWV6
import FoundationInternationalization
struct Attributed
struct IntegerFormatStyle<Value> where Value : BinaryInteger
protocol Decoder
A type that can decode values from a native format into in-memory representations.
func format(_ value: Value) -> AttributedString
Returns an attributed string with NumberFormatAttributes.SymbolAttribute
and NumberFormatAttributes.NumberPartAttribute
. Values not representable by Int64
are clamped.
func locale(_ locale: Locale) -> IntegerFormatStyle<Value>.Attributed