<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NotificationCenter/Notifications/Iterator",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So20NSNotificationCenterC10FoundationE13NotificationsC8IteratorV"
  },
  "title" : "NotificationCenter.Notifications.Iterator"
}
-->

# NotificationCenter.Notifications.Iterator

The asynchronous iterator created by this asynchronous sequence.

```
struct Iterator
```

## Topics

### Iterating over Elements

[`func next() async -> Notification?`](/documentation/Foundation/NotificationCenter/Notifications/Iterator/next())

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element.

### Supporting Types

[`typealias Element`](/documentation/Foundation/NotificationCenter/Notifications/Element)

The type of element produced by this asynchronous sequence.

## Relationships

### Conforms To

[`AsyncIteratorProtocol`](/documentation/Swift/AsyncIteratorProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)