Trying to remove the objects from NSMutableArray
, below is how addition done to array.
sectionInfo = [self.collectionView indexPathsForSelectedItems];
How tried to remove
[sectionInfo removeAllObjects];
The error i got is unrecognized selector sent to instance 0x169cfb70.
I think it's because i didn't added items in to array ass addObject:
but that's not my requirement. So, how to manage this.