Type-Safe NotificationCenter on iOS 26+
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...
mohitnnd.hashnode.dev2 min read