News for hackers. Stuff that matters.
Re:NSNotificationCenter is Probably an Anti-Pattern by cageface on Saturday January 02, 2016 @05:00AM (#10825718)
Code that relies on notifications for control flow is very hard to debug and reason about. Much better to set up explicit delegate/observer protocols between parts of your app that need to communicate with each other. You can use something like NSHashTable to manage weak references to a collection of observers that conform to your delegate protocol.

There are no comments on this comment yet.