Possible Duplicate:
NSMutableArray addObject not working
I have a NSMutableArray declared as (nonatomic,retain) in my .h file, and properly synthesized. tempRandomWord is an NSString that is always populated.However,count is always returning 0. Any ideas why?
[pastWords addObject:tempRandomWord];
int count=[pastWords count];
NSLog(@"%i",count);