I think, I am doing a pretty basic mistake, but I am using an NSMutableArray
and this somehow doesn't add the object, I'm sending it its way. I have a property (and synthesize)
@property (nonatomic, strong) NSMutableArray *kpiStorage;
and then:
ExampleObject *obj1 = [[ExampleObject alloc] init];
[kpiStorage addObject:obj1];
ExampleObject *obj2 = [[ExampleObject alloc] init];
[kpiStorage addObject:obj2];
NSLog(@"kpistorage has:%@", [kpiStorage count]);
and that always returns (null) in the console. What am I misunderstanding?