Instance Propertyswift 6.0.3FoundationInternationalization
locale
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
var locale: Locale
var locale: Locale
s30FoundationInternationalization15ListFormatStyleV6locale0A10Essentials6LocaleVvp
What are these?3VAF3
import FoundationInternationalization
struct ListFormatStyle<Style, Base> where Style : FormatStyle, Base : Sequence, Style.FormatInput == Base.Element, Style.FormatOutput == String
struct Locale
Locale
encapsulates information about linguistic, cultural, and technological conventions and standards. Examples of information encapsulated by a locale include the symbol used for the decimal separator in numbers and the way dates are formatted.
init(from decoder: any Decoder) throws
init(memberStyle: Style)
var listType: ListFormatStyle<Style, Base>.ListType
var width: ListFormatStyle<Style, Base>.Width
func format(_ value: Base) -> String
func locale(_ locale: Locale) -> ListFormatStyle<Style, Base>
enum ListType
enum Width