One Logo Pool Ball
Foundation · IOS API REFERENCE

AttributeScopes.FoundationAttributes.AgreementConceptAttribute

enum · iOS 17.0+ · SDK 27.1

@frozen enum AgreementConceptAttribute

An attribute that represents grammatical agreement for objects that aren't part of the inflected text. Use this formatting attribute for cases where you need to inflect text based on a term of address or phrase that isn't part of the inflected text. For example, you can use an ``InflectionConcept/termsOfAddress(_:)`` concept to make a word agree with a person's preferred term of address, or a ``InflectionConcept/localizedPhrase(_:)`` concept to agree with a noun that doesn't appear in the sentence.

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 →