Skip to content

NSNotificationCenter

Ken Harris edited this page Nov 6, 2020 · 2 revisions

Always post your notifications from the main thread. You can post them from any thread, but they'll be dispatched on that thread, and most of AppKit can't do useful work on other threads. You just don't want to get into that mess. Post notifications on main.

Clone this wiki locally