Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design the section controller #805

Closed
kanumuri9593 opened this issue Jun 7, 2017 · 3 comments
Closed

Design the section controller #805

kanumuri9593 opened this issue Jun 7, 2017 · 3 comments
Labels

Comments

@kanumuri9593
Copy link

kanumuri9593 commented Jun 7, 2017

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]
@rnystrom
Copy link
Contributor

@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!

@kanumuri9593
Copy link
Author

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

@varyP
Copy link

varyP commented Mar 7, 2019

@kanumuri9593, were you able to crack this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants