One Logo Pool Ball
Foundation · IOS API REFERENCE

Morphology.CustomPronoun

struct · iOS 15.0+ · Deprecated in iOS 17.0 · SDK 27.1

struct CustomPronoun

A custom pronoun behavior for use in a specific language.

Members (13)

get · iOS 15.0+ · Deprecated in iOS 17.0

objectForm

TypeScript
get objectForm(): (string) | null
Swift declaration
var objectForm: String? { get set }

The object pronoun form to apply when using this custom pronoun behavior.

set · iOS 15.0+ · Deprecated in iOS 17.0

objectForm

TypeScript
set objectForm(value: (string) | null)
Swift declaration
var objectForm: String? { get set }

The object pronoun form to apply when using this custom pronoun behavior.

static · iOS 15.0+ · Deprecated in iOS 17.0

isSupported

TypeScript
static isSupported(language: string): boolean
Swift declaration
static func isSupported(forLanguage language: String) -> Bool

Returns a Boolean value that indicates whether the given language supports setting custom pronouns.

get · iOS 15.0+ · Deprecated in iOS 17.0

subjectForm

TypeScript
get subjectForm(): (string) | null
Swift declaration
var subjectForm: String? { get set }

The subject pronoun form to apply when using this custom pronoun behavior.

set · iOS 15.0+ · Deprecated in iOS 17.0

subjectForm

TypeScript
set subjectForm(value: (string) | null)
Swift declaration
var subjectForm: String? { get set }

The subject pronoun form to apply when using this custom pronoun behavior.

static · iOS 15.0+ · Deprecated in iOS 17.0

requiredKeys

TypeScript
static requiredKeys(language: string): Array<"subjectForm" | "objectForm" | "possessiveForm" | "possessiveAdjectiveForm" | "reflexiveForm" | "hashValue" | SDKHandle>
Swift declaration
static func requiredKeys(forLanguage language: String) -> [PartialKeyPath<Morphology.CustomPronoun>]

Returns a collection of the custom pronoun keys required by this language.

get · iOS 15.0+ · Deprecated in iOS 17.0

reflexiveForm

TypeScript
get reflexiveForm(): (string) | null
Swift declaration
var reflexiveForm: String? { get set }

The reflexive pronoun form to apply when using this custom pronoun behavior.

set · iOS 15.0+ · Deprecated in iOS 17.0

reflexiveForm

TypeScript
set reflexiveForm(value: (string) | null)
Swift declaration
var reflexiveForm: String? { get set }

The reflexive pronoun form to apply when using this custom pronoun behavior.

get · iOS 15.0+ · Deprecated in iOS 17.0

possessiveForm

TypeScript
get possessiveForm(): (string) | null
Swift declaration
var possessiveForm: String? { get set }

The possessive pronoun form to apply when using this custom pronoun behavior.

set · iOS 15.0+ · Deprecated in iOS 17.0

possessiveForm

TypeScript
set possessiveForm(value: (string) | null)
Swift declaration
var possessiveForm: String? { get set }

The possessive pronoun form to apply when using this custom pronoun behavior.

get · iOS 15.0+ · Deprecated in iOS 17.0

possessiveAdjectiveForm

TypeScript
get possessiveAdjectiveForm(): (string) | null
Swift declaration
var possessiveAdjectiveForm: String? { get set }

The possessive adjective pronoun form to apply when using this custom pronoun behavior.

set · iOS 15.0+ · Deprecated in iOS 17.0

possessiveAdjectiveForm

TypeScript
set possessiveAdjectiveForm(value: (string) | null)
Swift declaration
var possessiveAdjectiveForm: String? { get set }

The possessive adjective pronoun form to apply when using this custom pronoun behavior.

init · iOS 15.0+ · Deprecated in iOS 17.0

init

TypeScript
static init(): Morphology_CustomPronoun
Swift declaration
init()

Creates an empty custom pronoun.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →