title: using string variable from one class in another
body: <p>Rookie question:  I am writing a program that will generate a specific string and then display it in a text window in a different view controller.  I have been testing to ensure that the code in fact generates the string using NSLog commands and I know the code is working as intended.  For some reason it is not transferring across the view controller and I cant figure out why.  Any help?  Here is a snippet of the code:</p>
  
  <p>CreateStoryViewController.m</p>
  
  <pre><code> - (IBAction)makeStory:(id)sender 
      {
      StoryLine *myStory =[[StoryLine alloc] init];
  
      [myStory setStory];
          self.story = myStory.plot;
          NSLog(@"story is %@", self.story);//this is generating the correct story string
  
  
      self.displayStoryController = [[BIDDisplayStoryViewController alloc] initWithNibName:@"DisplayStoryView" bundle:nil];
  
      [self.view insertSubview:self.displayStoryController.view atIndex:1];
  
  
  
      }
  </code></pre>
  
  <p>DisplayStoryViewController.m</p>
  
  <pre><code>    - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view.
  
      BIDCreateStoryViewController *newStory = [[BIDCreateStoryViewController alloc] init];
      NSLog(@"newStory.story is %@",newStory.story);//this generates null message
      self.storyDisplay.text = newStory.story;
  
  }
  </code></pre>