Name

public class Name : CustomStringConvertible, JSONRepresentable

Representations for a person’s name to assist with internationalization.

  • Also known as a first name.

    Declaration

    Swift

    public let givenName: String
  • Also known as a last name or family name.

    Declaration

    Swift

    public let surname: String
  • Locale-dependent name. In the US, a person’s familiar name is their givenName, but elsewhere, it could be any combination of a person’s givenName and surname.

    Declaration

    Swift

    public let familiarName: String
  • A name that can be used directly to represent the name of a user’s Dropbox account.

    Declaration

    Swift

    public let displayName: String
  • An abbreviated form of the person’s name. Their initials in most locales.

    Declaration

    Swift

    public let abbreviatedName: String
  • Declaration

    Swift

    public var description: String { get }