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

UICollectionElementKindSectionHeader #163

Closed
shuhrat10 opened this issue Nov 4, 2016 · 6 comments
Closed

UICollectionElementKindSectionHeader #163

shuhrat10 opened this issue Nov 4, 2016 · 6 comments
Labels

Comments

@shuhrat10
Copy link

shuhrat10 commented Nov 4, 2016

I need to add CollectionView to UICollectionElementKindSectionHeader. How can I pass object and then control it from there? I can't make it sticky header if I'm putting this CollectionView to the cell.

@rnystrom
Copy link
Contributor

rnystrom commented Nov 4, 2016

This might be more helpful once we push an example for #153, I think it'll make more sense. Maybe we should move this there?

It sounds like you're trying to configure a supplementary view based on the object, right?

@shuhrat10
Copy link
Author

yes, and I want to pass array object with items and then render cells in
UICollectionView located in UICollectionElementKindSectionHeader.

On Fri, Nov 4, 2016 at 6:03 PM, Ryan Nystrom [email protected]
wrote:

This might be more helpful once we push an example for #153
#153, I think it'll make
more sense. Maybe we should move this there?

It sounds like you're trying to configure a supplementary view based on
the object, right?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#163 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD0FY8GdWAWNeHf-2VW1oqLNcY4VFpNks5q66vKgaJpZM4KqBWc
.

@rnystrom
Copy link
Contributor

rnystrom commented Nov 6, 2016

Take a look at #169 for an example of using header supplementary views. Will be merged soon!

@shuhrat10
Copy link
Author

Great example, I did the same way a few days ago.
I think I will share my example later this month.

Thank you for providing this example in a short time.

On Sun, Nov 6, 2016 at 5:07 PM, Ryan Nystrom [email protected]
wrote:

Take a look at #169 #169 for
an example of using header supplementary views. Will be merged soon!


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#163 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD0FXNvceeiz2cA43yYxa9aIdV-DIViks5q7k-NgaJpZM4KqBWc
.

@jessesquires
Copy link
Contributor

Sounds like we're good here 👍

@shuhrat10
Copy link
Author

Yep

On Nov 6, 2016, at 5:44 PM, Jesse Squires [email protected] wrote:

Sounds like we're good here 👍


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

facebook-github-bot pushed a commit that referenced this issue Nov 7, 2016
Summary:
Got around to adding a supplementary view source example.

Fixes #153 #163

![img_0197](https://cloud.githubusercontent.com/assets/739696/20042159/03d2489e-a443-11e6-8d60-895256b56273.PNG)

- [x] All tests pass. Demo project builds and runs.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/CONTRIBUTING.md)
Closes #169

Differential Revision: D4139910

Pulled By: rnystrom

fbshipit-source-id: 846c61c4d097392f18778d46044d4989e6bdf183
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

3 participants