title: Access NSMutableArray from a different class
body: <p>I have a class where a NSMutableArray object is formed, as so:</p>
  
  <pre><code>navBarColour = [[NSMutableArray alloc] initWithObjects:colourOfNavBar, nil];
  </code></pre>
  
  <p>I then have another class, which has the first class added to it properly, but it won't let me access the NSMutableArray from the first class. This line of code:</p>
  
  <pre><code>NSLog(@"%@", [HandlingPalettes.navBarColour objectAtIndex:0]);
  </code></pre>
  
  <p>Returns:</p>
  
  <p>expected ':' before '.' token</p>
  
  <p>But:</p>
  
  <pre><code>NSLog(@"%@", [navBarColour objectAtIndex:0]);
  </code></pre>
  
  <p>would work in the original class.</p>
  
  <p>What am i doing wrong here?</p>