Skip to content

Commit

Permalink
flowLayout update
Browse files Browse the repository at this point in the history
  • Loading branch information
furkancingoz committed Feb 10, 2024
1 parent 2dc7c67 commit 2f17bf0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions GitHub Followers/Screen/FollowersListVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ class FollowersListVC: UIViewController {
let availableWidth = width - (padding * 2) - (minumumItemSpacing * 2)
let itemWidth = availableWidth / 3


return UICollectionViewFlowLayout()
}
let flowLayout = UICollectionViewFlowLayout()
flowLayout.sectionInset = UIEdgeInsets(top: padding, left: padding, bottom: padding, right: padding)
flowLayout.itemSize = CGSize(width: itemWidth, height: itemWidth + 40)
return flowLayout }


func getFollowers(){
Expand Down

0 comments on commit 2f17bf0

Please sign in to comment.