I have a class where a NSMutableArray object is formed, as so:
navBarColour = [[NSMutableArray alloc] initWithObjects:colourOfNavBar, nil];
I t
The dot notation is used differently in objective c that from c++ or java. In objective-c it is shorthand for accessing a property. You need to have defined a objective-c property first, like this:
in the .h file (INSIDE the interface tag)
@property (nonatomic, retain) NSMutableArray *navBarColor;
in the .m file (INSIDE the implementation tag)
@synthesize navBarColor;
Only then can you access the array with the dot notation.