---
title: "nameOrder(for:)"
framework: contacts
role: symbol
role_heading: Type Method
path: "contacts/cncontactformatter/nameorder(for:)"
---

# nameOrder(for:)

Returns the display name order.

## Declaration

```swift
class func nameOrder(for contact: CNContact) -> CNContactDisplayNameOrder
```

## Parameters

- `contact`: The contact whose name is to be formatted.

## Return Value

Return Value The display order to use when combining the given name and family name components. Discussion For more information about display name orders, see CNContactDisplayNameOrder.

## See Also

### Getting format information

- [delimiter(for:)](contacts/cncontactformatter/delimiter(for:).md)
- [CNContactDisplayNameOrder](contacts/cncontactdisplaynameorder.md)
