title: Register a notification observer for a class outside that class
body: <p>I want to register a notification observer outside of the class that is observing the notification reception.</p>
  
  <p>i tried to do it like this :</p>
  
  <pre><code>[[NSNotificationCenter defaultCenter] 
         addObserver:[ViewController class]  
         selector:@selector(NotificationReceived:) 
         name:@"notification" object:nil];
  </code></pre>
  
  <p>however, this forces me to make the method NotificationReceived in ViewController class to be <code>+(void)</code> instead of <code>-(void)</code> like i want it to be</p>
  
  <p>is there a way to register the ViewController as a notification observer outside the ViewController class ?</p>