You need to specify that you implement the protocol UICollectionViewDelegateFlowLayout
in your class declaration.
class PhrasesCompactCollectionViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout
You need to specify that you implement the protocol UICollectionViewDelegateFlowLayout
in your class declaration.
class PhrasesCompactCollectionViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout