Questions tagged [uicollectionviewdelegateflowlayout]

The UICollectionViewDelegateFlowLayout protocol defines methods that let you coordinate with a UICollectionViewFlowLayout object to implement a grid-based layout. The methods of this protocol define the size of items and the spacing between items in the grid.

33 questions
0
votes
4 answers

UICollectionView showing 2 items instead of 3

I have implemented my UICollectionView like this extension MyViewController: UICollectionViewDelegate, UICollectionViewDataSource { func numberOfSections(in collectionView: UICollectionView) -> Int { return 1 } func…
Amir_P
  • 8,322
  • 5
  • 43
  • 92
-1
votes
1 answer

Delegating just scroll events in UICollectionView inside ScrollView Swift

I have a ABCController that including UIPageViewController and this controller including 3 different controllers that connected to tabs. In first controller that connect to UIPageViewController there is CollectionView that delegated to it's own…
-1
votes
1 answer

Swift UICollectionView Cell Transition Effect

I use full frame UICollectionView as PageViewController. I want to add transition style when passing next/previous item. Normally cells are following each other start points and end points but I want to give an effect that "CrossFade" effect like in…
1 2
3