title: access object passed in NSNotification?
body: <p>I have a NSNotification that is posting a NSDictionary:</p>
  
  <pre><code> NSDictionary* dict = [NSDictionary dictionaryWithObjectsAndKeys:
                                            anItemID, @"ItemID",
                                            [NSString stringWithFormat:@"%i",q], @"Quantity",
                                            [NSString stringWithFormat:@"%@",[NSDate date]], @"BackOrderDate",
                                            [NSString stringWithFormat:@"%@", [NSDate date]],@"ModifiedOn",
                                            nil];
  
                      [[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:@"InventoryUpdate" object:dict]];
  </code></pre>
  
  <p>How do I subscribe to this and get information from this NSDictionary?</p>
  
  <p>in my viewDidLoad I have:</p>
  
  <pre><code>[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(recieveInventoryUpdate:) name:@"InventoryUpdate" object:nil];
  </code></pre>
  
  <p>and a method in the class:</p>
  
  <pre><code>- (void)recieveInventoryUpdate:(NSNotification *)notification {
      NSLog(@"%@ updated", [notification userInfo]);
  }
  </code></pre>
  
  <p>which logs a null value of course.</p>