Reputation: 69
I have a UICollectionView working with a search bar. When the client search for something, the algorithm sort the cell by 2 category.
The first results, a separator line, the second results
I found in the UICollectionView some functions about section but there is no documentation at all about them.
Thank you for your time
Upvotes: 0
Views: 171
Reputation: 1294
I wrote a sample for you, a simple UICollectionView with a search bar, and you can search with it. The result will be separated to 2 groups as you wish.
Hope it can help you.
Upvotes: 1