One Logo Pool Ball
Foundation · IOS API REFERENCE

ListFormatter

class · iOS 13.0+ · SDK 27.1

class ListFormatter

Members (8)

static · iOS 13.0+

localizedString

TypeScript
static localizedString(strings: Array<string>): string
Swift declaration
class func localizedString(byJoining strings: [String]) -> String
init

init

TypeScript
static init(): ListFormatter
Swift declaration
init()
method · iOS 13.0+

string

TypeScript
stringFor(obj?: (unknown) | null): (string) | null
Swift declaration
func string(for obj: Any?) -> String?
method · iOS 13.0+

string

TypeScript
stringFrom(items: Array<unknown>): (string) | null
Swift declaration
func string(from items: [Any]) -> String?
get · iOS 13.0+

itemFormatter

TypeScript
get itemFormatter(): (Formatter) | null
Swift declaration
@NSCopying var itemFormatter: Formatter? { get set }
set · iOS 13.0+

itemFormatter

TypeScript
set itemFormatter(value: (Formatter) | null)
Swift declaration
@NSCopying var itemFormatter: Formatter? { get set }
get · iOS 13.0+

locale

TypeScript
get locale(): (Locale) | null
Swift declaration
var locale: Locale! { get set }
set · iOS 13.0+

locale

TypeScript
set locale(value: (Locale) | null)
Swift declaration
var locale: Locale! { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →