---
title: name
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/httpcookiepropertykey/name
---

# name

An NSString object containing the name of the cookie (required).

## Declaration

```swift
static let name: HTTPCookiePropertyKey
```

## See Also

### Cookie property keys

- [comment](foundation/httpcookiepropertykey/comment.md)
- [commentURL](foundation/httpcookiepropertykey/commenturl.md)
- [discard](foundation/httpcookiepropertykey/discard.md)
- [domain](foundation/httpcookiepropertykey/domain.md)
- [expires](foundation/httpcookiepropertykey/expires.md)
- [maximumAge](foundation/httpcookiepropertykey/maximumage.md)
- [originURL](foundation/httpcookiepropertykey/originurl.md)
- [path](foundation/httpcookiepropertykey/path.md)
- [port](foundation/httpcookiepropertykey/port.md)
- [sameSitePolicy](foundation/httpcookiepropertykey/samesitepolicy.md)
- [secure](foundation/httpcookiepropertykey/secure.md)
- [value](foundation/httpcookiepropertykey/value.md)
- [version](foundation/httpcookiepropertykey/version.md)
