Array passing between classes, gone?
<p>Hey guys . i have two classes, SelectionScreenTable &amp; GraphView.</p>

<p>In the SelectionScreenTable class .h, i declared a NSMutableArray called usagedatas</p>

<pre><code>    NSMutableArray *usagedatas;

}
@property (nonatomic, retain) NSMutableArray *usagedatas;
</code></pre>

<p>In the SelectionScreenTable class.m i remembered to @synthesize.
Later on, while processing my methods, i did a </p>

<pre><code>NSLog(@"usagedatas count:%i",usagedatas.count);
</code></pre>

<p>to check whether it has value and it returned 1. so yeah its good up to this point.</p>

<p>And in the -(void) dealloc , i remembered to released it . </p>

<pre><code>[usagedatas release];
</code></pre>

<p>So now comes ME trying to use it in another class.</p>

<p>In GraphView.m i imported the "SelectionScreenTable.h". 
in the -(void)viewDidLoad i did</p>

<pre><code>SelectionScreenTable *UD = [SelectionScreenTable alloc];

 NSLog(@"GraphView UD.usagedataas.count =  :%i",UD.usagedatas.count);
</code></pre>

<p>it returned 0. </p>

<p>Any idea guys?</p>
