@interface SimataDetailViewController ()
@property Simata *simata;
@property (nonatomic, copy) NSMutableArray *simataList;
@end
@implementation SimataDetailView
Are you sure you have created an instance of the array before you use it?
self.simataList =[NSMutableArray array];
It could also be your self.simata being nil...
EDIT
You could create the array instance in the default init method:
-(id)init
{
self = [super init];
if(self)
{
//do your object initialization here
self.simataList =[NSMutableArray array];
}
return self;
}
Most likely self.simataList is nil. Try NSLogging self.simataList itself, rather than its count.