Guest User

Untitled

a guest
Apr 25th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
  2. let cell = collectionView.dequeueReusableCell(withReuseIdentifier: CustomCell.reusableIdentifier, for: indexPath) as! CustomCell
  3. return cell
  4. }
  5.  
  6. func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
  7. return 4
  8. }
Add Comment
Please, Sign In to add comment