I have this code
[[self.client dataClient] getEntities:@"book" query:nil
completionHandler:^(ApigeeClientResponse *result) {
if (result.transactionState ==kApigeeClientResponseSuccess) {
_objects = result.response[@"entities"];
} else {
_objects = @[]; //"Incompatible pointer types assigning to NSMutableArray from NSArray"
}
[self.tableView reloadData];
}];
It shows me error "Incompatible pointer types assigning to NSMutableArray from NSArray"
_objectsis implemented inNSArrayand returns anNSArrayeven when called on anNSMutableArray.assign
[NSMutableArray array];