Hi everyone,
Does anyone know how to make tableviewheader using iglistkit ?
If there an example it will be good.
Hi everyone,
Does anyone know how to make tableviewheader using iglistkit ?
If there an example it will be good.
Hi @tukangketik
You need to use supplementary views for this. You can find an example in the repository - GitHub - Instagram/IGListKit: A data-driven UICollectionView framework for building fast and flexible lists.. Examples/Examples-iOS/IGListKitExamples/ViewControllers/ file SupplementaryViewController.swift.
If you need them to be sticky like in the UITableView, you need to set “sectionHeadersPinToVisibleBounds” to true of your IGList layout.
Nikita