title: NSDictionary setting to nil when passed to another class (IOS)
body: <p>I am passing an NSDictionary object from one view class to another as I transition from a table view to a normal view to show details:</p>
  
  <p>Passing Controller:</p>
  
  <pre><code>[tweetController setTweet:tweet];
  </code></pre>
  
  <p>Receiving Controller.h:</p>
  
  <pre><code>@interface TweetViewController : UIViewController {
      NSDictionary *tweet;
  }
  
  @property (nonatomic, retain) NSDictionary *tweet;
  </code></pre>
  
  <p>Receiving Controller.m:</p>
  
  <pre><code>@implementation TweetViewController
  
  @synthesize tweet = _tweet;
  </code></pre>
  
  <p>I then try to use this information to set the properties of some fields in my view:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      tweetLabel.text = [_tweet objectForKey:@"text"];
  }
  </code></pre>
  
  <p>The result is a blank label and if I inspect the value of _tweet at this stage it is nil.</p>
  
  <p>I originally had a method which set the value of tweet which I called at the same location as I am now setting the value. If I inspected the value at this stage it was fine.</p>
  
  <p>I presume that the automagic setter through @synthasize is working, but somewhere else the value is being lost.</p>
  
  <p>Sorry this is my first objective C anything! Thanks for any help in advance. </p>