Text from UILabel is not added to separate view controller array <p>I have a <code>NSMutableArray</code> and I would like to add values that are inputed into a <code>UILabel</code> in a subclassed <code>UIAlertView</code> that allows me to add subviews. The problem is that I have though is that the <code>UIViewController</code> that I have to keep track of the score isn't receiving the inputed values since it is constantly returning a value of Nil. </p> <p>Within the <code>UIAlertVIew</code> controller I use <code>NSNotificationCenter</code> to post a notification. The UIViewController that holds the score has a listener that checks for the update. </p> <p>Here is the code for the method that is called when the <code>IViewController</code> hears the notification</p> <pre><code>-(void)doneButtonPressed{ i++; // g2RowIndex ++; j = i -2; k = i-3; CustomUiAlertView *customAlertView; NSLog(@"%@", customAlertView.p1G1ScoreLabel.text); } </code></pre> <p>The scoreLabel belongs to the subclassed <code>UIViewController</code>. I am wondering how to get the inputed values within the <code>UILabel</code> to be placed in the <code>scoreArray</code> within the socreViewController. </p>