Reading List

Swift 6.2: NotificationCenter Messages from Michael Tsai RSS feed.

Swift 6.2: NotificationCenter Messages

Holly Borla: In Swift 6.2, the Foundation library includes a modern NotificationCenter API that uses concrete notification types instead of relying on strings and untyped dictionaries for notification names and payloads. This means you can define a notification struct with stored properties, and observers can use the type without error-prone indexing and dynamic casting. Apple: […]