Iglistkit: Can't make space between section and cells

Created on 6 Nov 2016  路  2Comments  路  Source: Instagram/IGListKit

Hi
How i can make spaces between sections?
i'm using collectionview on storyboard, but inset parameters not working, there's special way to do it with IGListKit?

question

Most helpful comment

Thanks that's work.
Really want to say thanks for the great support guys, It's really feel like IG team are full committed for this amazing framework
Thanks Again

All 2 comments

Hey @dekelm8, try changing the inset of your section controller, like:

class MySectionController: IGListSectionController, IGListSectionType {
  override init() {
    super.init()
    inset = UIEdgeInsets(top: 0, left: 0, bottom: 15, right: 0)
  }

  // etc implementation
}

That would add 15 point inset to the bottom of every MySectionController.

Are you setting the insets on UICollectionViewFlowLayout? We had a suggestion to get global section insets working once, maybe we should revisit that.

Thanks that's work.
Really want to say thanks for the great support guys, It's really feel like IG team are full committed for this amazing framework
Thanks Again

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HarshilShah picture HarshilShah  路  3Comments

joseph-francis picture joseph-francis  路  3Comments

rnystrom picture rnystrom  路  3Comments

FazeelAkhtar picture FazeelAkhtar  路  3Comments

kanumuri9593 picture kanumuri9593  路  3Comments