skip to Main Content

UICollectionView numberOfItemsInSection not being called on reloadData() – Swift Xcode

I have two view controllers – SecondTestViewController and SecondContentViewController. SecondContentViewController is a floating panel inside SecondTestViewController. SecondTestViewController has a UITableView and SecondContentViewController has a UICollectionView. SecondContentViewController: override func viewDidLoad() { super.viewDidLoad() // let layout = UICollectionViewFlowLayout() // layout.scrollDirection = .vertical…

VIEW QUESTION
Back To Top
Search