---
title: Notification
framework: foundation
role: symbol
role_heading: Structure
path: foundation/notification
---

# Notification

A container for information broadcast through a notification center to all registered observers.

## Declaration

```swift
struct Notification
```

## Topics

### Creating a Notification

- [init(name:object:userInfo:)](foundation/notification/init(name:object:userinfo:).md)
- [Notification.Name](foundation/notification/name-swift.typealias.md)
- [NSNotification.Name](foundation/nsnotification/name-swift.struct.md)

### Getting Notification Information

- [name](foundation/notification/name-swift.property.md)
- [object](foundation/notification/object.md)
- [userInfo](foundation/notification/userinfo.md)

### Using Reference Types

- [NSNotification](foundation/nsnotification.md)

### Operators

- [==(_:_:)](foundation/notification/==(_:_:).md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomReflectable](swift/customreflectable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [ReferenceConvertible](foundation/referenceconvertible.md)

## See Also

### Notifications

- [NotificationCenter](foundation/notificationcenter.md)
- [NotificationQueue](foundation/notificationqueue.md)
