-
Notifications
You must be signed in to change notification settings - Fork 0
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.
- Jeff Johnson, a.k.a., @lapcatsoftware: "Only post a particular notification on one thread. Ideally that would be the main thread, but in any case, be consistent."