One Logo Pool Ball
Foundation · IOS API REFERENCE

AttributeScopes.FoundationAttributes.ReferentConceptAttribute

enum · iOS 17.0+ · SDK 27.1

@frozen enum ReferentConceptAttribute

An attribute that specifies a grammatical agreement concept for substituting pronouns in localized text. Use the ``AttributeScopes/FoundationAttributes/referentConcept`` formatting attribute for cases where you need to refer to a person using their preferred pronoun in a string. For an example of how to use a `referentConcept`, see ``TermOfAddress``.

Members (2)

get · iOS 17.0+

markdownName

TypeScript
static get markdownName(): string
Swift declaration
static let markdownName: String

The Markdown name associated with an attributed string key.

get · iOS 17.0+

name

TypeScript
static get nameValue(): string
Swift declaration
static let name: String

The name of the key.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →