---
title: properties
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/httpcookie/properties
---

# properties

The cookie’s properties.

## Declaration

```swift
var properties: [HTTPCookiePropertyKey : Any]? { get }
```

## Discussion

Discussion This dictionary can be used with init(properties:) (or cookieWithProperties: in Objective-C) to create an equivalent HTTPCookie object. See init(properties:) for more information on the constraints imposed on the properties dictionary.

## See Also

### Accessing cookie properties as key-value pairs

- [HTTPCookiePropertyKey](foundation/httpcookiepropertykey.md)
