---
title: cookiesChanged
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/notificationcenter/messageidentifier/cookieschanged
---

# cookiesChanged

An identifier for a message about a cookie storage instance’s cookies changing.

## Declaration

```swift
static var cookiesChanged: NotificationCenter.BaseMessageIdentifier<HTTPCookieStorage.CookiesChangedMessage> { get }
```

## Discussion

Discussion Use this identifier with NotificationCenter’s addObserver(of:for:using:) or messages(of:for:bufferSize:) methods to observe messages of type HTTPCookieStorage.CookiesChangedMessage.
