---
title: "Discussion on \"Type-Safe NotificationCenter on iOS 26+\" | Hashnode"
description: "Discussion on \"Type-Safe NotificationCenter on iOS 26+\". Why Move Beyond Notification.Name + userInfo?\nBefore iOS 26, posting and observing notifications always meant stringly-typed names and untyped dictionaries:\nextension Notification.Name {\n  static let userDidLogin = .init(\"UserDidLogin\")\n}\n\n// Posting..."
url: "https://hashnode.com/posts/type-safe-notificationcenter-on-ios-26/684ab19688788866438fd6fd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Type-Safe NotificationCenter on iOS 26+](https://mohitnnd.hashnode.dev/type-safe-notificationcenter-on-ios-26?utm_source=hashnode&utm_medium=feed)

Why Move Beyond Notification.Name + userInfo? Before iOS 26, posting and observing notifications always meant stringly-typed names and untyped dictionaries: extension Notification.Name { static let userDidLogin = .init("UserDidLogin") } // Posting...

Jun 12, 2025 · 2 min read · mohitnnd.hashnode.dev  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#ios](https://hashnode.com/tag/ios)
-   [#ios26](https://hashnode.com/tag/ios26)
-   [#wwdc25](https://hashnode.com/tag/wwdc25)
-   [#notificationcenter](https://hashnode.com/tag/notificationcenter)

## Written by

[Mohit Anand](https://hashnode.com/@mohitnnd)

@mohitnnd

  
[View profile](https://hashnode.com/@mohitnnd)

All things Mobile

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
