Instance Property

middleName

Secondary name bestowed upon an individual to differentiate them from others that have the same given name (for example, “Maple”).

Declaration

var middleName: String? { get set }

See Also

Accessing Person Name Components

var namePrefix: String?

The portion of a name’s full form of address that precedes the name itself (for example, “Dr.,” “Mr.,” “Ms.”).

var givenName: String?

Name bestowed upon an individual to differentiate them from other members of a group that share a family name (for example, “Johnathan”).

var familyName: String?

Name bestowed upon an individual to denote membership in a group or family. (for example, “Appleseed”).

var nameSuffix: String?

The portion of a name’s full form of address that follows the name itself (for example, “Esq.,” “Jr.,” “Ph.D.”).

var nickname: String?

Name substituted for the purposes of familiarity (for example, "Johnny").

var phoneticRepresentation: PersonNameComponents?

The phonetic representation name components of the receiver.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software