Hi Richard, please can you post the rest of the code for the @displaySomeText:@ method?
It sounds like the pointer type you’ve used for @monthsArray@ is an @NSString@ rather than an @NSArray@, even though the object you create for it to point to is correctly an @NSArray@.
Does the first line of code in the method look like this, by any chance?
NSString *monthsArray = [NSArray arrayWithObjects: … etc …
If so, the compiler thinks you’re trying to enumerate over an @NSString@ object, hence the warning. At runtime, though, the object pointed to by @monthsArray@ will be an @NSArray@, so all will be fine. The initial @NSString@ in the line above should be @NSArray@; changing it will satisfy the compiler that all is well.
Otherwise, please post the rest of the method as something else must be going on to cause the compiler to think that @monthsArray@ is an @NSString@.