Search code examples
iphoneios5nsnotificationcenter

NSNotification observer Overhead


Just wondering, does anyone have experience with activating large amounts of NSNotification observers at a time?

What is the overhead of an observer? Is it reasonable to run, say, 50 or 100 or more observers at a time?

I have an application that displays a scrolling list of media from database and I want to implement NSNotificationCenter as a scalable method of listening for individual pieces of media and allocating them to the proper UIViews

Cheers, Doug


Solution

  • I'm going to take J2theC's advice on this one..

    I'm currently shifting the design pattern to use delegate methods to prevent any freezing..

    Thanks for the feedback!