Iglistkit: Design the section controller

Created on 7 Jun 2017  路  3Comments  路  Source: Instagram/IGListKit

Hi, I am exited to use this framework in my upcoming project but I am stuck at design phase

I want to achieve something shown in the image
design the section controller itself,
My design requires the whole cell to float with rounded edges and background color and shadow effect
If I design one single cell and add those effects its achievable but the whole point of using this framework is to modularize into components
so is there a way I can design my section controller itself rather than just the insets and then design my internal cells

img_3271

If anyone can guide me how I ca achieve something similar with a example or source would be amazing

General information

  • IGListKit version:3.0
  • iOS version(s):10
  • CocoaPods/Carthage version:
  • Xcode version:8.3
  • Devices/Simulators affected:
  • Reproducible in the demo project? (Yes/No):
  • Related issues:

Debug information

# Please include debug logs using the following lldb command:
po [IGListDebugger dump]
question

Most helpful comment

@kanumuri9593 sorry for the delay! We've discussed having some sort of "background view" API in #142 and #749, but have been pushing people to use UICollectionView's decoration view API instead. Here is a tutorial and some Apple docs. You should be able to subclass UICollectionViewFlowLayout, IGListCollectionViewLayout, or just create your own UICollectionViewLayout subclass from scratch!

All 3 comments

@kanumuri9593 sorry for the delay! We've discussed having some sort of "background view" API in #142 and #749, but have been pushing people to use UICollectionView's decoration view API instead. Here is a tutorial and some Apple docs. You should be able to subclass UICollectionViewFlowLayout, IGListCollectionViewLayout, or just create your own UICollectionViewLayout subclass from scratch!

Thank you for the response, currently trying out designing all my cells and supplementary views with some padding and shadow but for sure look into UICollectionViewLayout

@kanumuri9593, were you able to crack this issue?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

krysztalzg picture krysztalzg  路  3Comments

lucabartoletti picture lucabartoletti  路  3Comments

jessesquires picture jessesquires  路  3Comments

rnystrom picture rnystrom  路  3Comments

runmad picture runmad  路  3Comments