⚠️ Apple deprecated NSUserNotification in favor of UserNotifications.framework. For quick, fire‑and‑forget banners from non‑sandboxed tools, NSUserNotification still works on current macOS releases.
What's going on here: The callback is documented to return a new reference (caller needs to CFRelease). The metadata doesn't reflect this and hence an autoreleased value is returned. To complicate ...