I've tried combining InfiniteCollectionView with CollectionPickerView but I'm getting an exception here:
Thread 1: EXC_BAD_ACCESS (code=2, address=0x16f56bfd0)
on line 27: InfiniteCollectionViewProxy.swift

my code for combining is:

and my custom layout:

I'm kind of new in iOS development so please can You help me with that?