Report
Question
Apple provides the UICollectionViewFlowLayout class, and along with it, a UICollectionViewDelegateFlowLayout protocol, with methods like func collectionView(collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAtIndex section: Int) -> CGFloat and func collectionView(collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAtIndex section: Int) -> CGFloat My understanding is that, ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
2 Answer 57 views

Report
Question
I have a UITableViewController, inside the TableViewCell, it’s a UICollectionView. I want to pass the data from the CollectionViewCell to a DetailViewController when user tapped the cell. I dragged a segue from the CollectionViewCell to the DetailViewController, and used the ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
2 Answer 19 views

Report
Question
Hello I have UICollectionView when scrolled disappears label.text and colors are mixed . My codes here CustomCollectionViewCell import UIKit @IBDesignable class CustomCollectionViewCell: UICollectionViewCell { @IBOutlet weak var label: UILabel! required init?(coder aDecoder: NSCoder) { ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
3 Answer 27 views

Report
Question
Update 1: here is the code for cellForItemAtIndexPath - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath { MBDynamicCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"Cell" forIndexPath: ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 26 views