I have to create a UI which has 3 `UICollectionViewCell` in a row. So i created it using `UICollectionViewController`, with section = 1 and no of rows = coming from api. So i was able to create 6 cells in which every row contains 3 cells. These cells are separated by 0.5 pt vertically and horizontally.
I have given the background color to collectionView which comes in separator.

In particular this is what i need :-
[![CollectionViewCntroller](https://i.stack.imgur.com/QMszU.png)](https://i.stack.imgur.com/QMszU.png)

Problem :-
This is the type of `UICollectionViewController` requirement i have 
The separators needs to be red, and the space not rendered needs to be yellow. But I am unable to do that, I can have a single background color for `UICollectionView` which shows for both separator and free space. Is there a way to have different colors.

I dont want to use UITableView and have a UICollectionView inside `UITableViewCell`. I know this approach but i want to do the same in `UICollectionViewController`.