Hey guys,
I declared a NSMutableArray in the header-file with:
NSMutableArray *myMuArr;
and
@property (nonatomic, retain) NSMutableArray *myMuArr;
In the .m file I've got a delegate from an other class:
-(void)didGrabData:(NSArray*)theArray {
self.myMuArr = [[[NSMutableArray alloc] initWithArray:myMuArr]retain];
}
If I want to access the self.myMuArr in cellForRowAtIndexPath it's empty (I checked the retain count of the array and it's 0)
What am I doing wrong?
Of course it's released in the dealloc, no where else.
I would be very thankfull for any help :0)