Im using this library for my project - https://github.com/filletofish/CardsLayout and I tried to change the size of the items in CardsCollectionViewLayout.swift but it does not work.. it still stays the same.
I've also tried to make the changes by forking the library (as desribed by Technerd here: Editing locked files from a CocoaPods framework) but this does not work either.
Is there any other way of being able to make changes to Pods? Or am I simply doing something wrong in these two previous ways
Edit:
@IBOutlet var collectionView: UICollectionView!
let cardLayout = CardsCollectionViewLayout()
override func viewDidLoad() {
super.viewDidLoad()
collectionView.collectionViewLayout = CardsCollectionViewLayout()
collectionView.dataSource = self
collectionView.delegate = self
collectionView.isPagingEnabled = true
collectionView.showsHorizontalScrollIndicator = false
collectionView.isHidden = true
// cardLayout.itemSize = CGSize(width: 50, height: 50)
collectionView.collectionViewLayout = cardLayout
searchInput.delegate = self
}