Questions tagged collectionview

Explore the latest questions and answers asked by our top developers.

Swift Collection view Horizontal and vertical scroll

i want to make this Collection view that can scroll horizontal and vertical….but i wanna make something like this https://giphy.com/gifs/lWshqs2BuvilYuE4Fl/html5 from what i see theres like Collection view and some segmented controll on top of that Collection view…… i mean my only problem is how can i scroll horizontal from anywhere on screen? like i […]

viewForSupplementaryElementOfKind is not setting the label text until Collection View is scrolled

I’m using viewForSupplementaryElementOfKind to generate a header in my Collection View. The header (SectionHeader) is a Section Header accessory in Storyboard that simply just contains 1 outlet. class SectionHeader: UICollectionReusableView { @IBOutlet weak var sectionHeaderlabel: UILabel! } Here’s my implementation of viewForSupplementaryElementOfKind func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView { […]

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq