i'm having a collection view , segment control and a arraycontroller. i used setFilterPredicate:
method to filter the data based on the segment pressed and displayed in collectionView. what my problem was the filtered data displayed in collectinview but the loactions were misplaced.
can you see that collection items were displayed at the middle of the collection view? how can i bring them to front?
i used [arrayController removeObjects:[arrayController content]];
instead of [arrayController removeObjects:[arrayController arrangedObjects]];
. i just replaced arranged objects to content.