Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Brenden Konnagan
16,858 PointsUICollectionView Header
Hello!
I am having trouble implementing the (void)registerClass:(Class)viewClass forSupplementaryViewOfKind:(NSString *)elementKind withReuseIdentifier:(NSString *)identifier
I for some reason can not wrap my head around where and how to implement in order to show a header. I am working in Sam's new "Photo Bombers" project and this is extra credit for the first section.
Any suggestions... help?
2 Answers
Brenden Konnagan
16,858 PointsI finally figured it out. I had to create a subclass of UICollectionReusabeView and register it in the view controller.

Enara L. Otaegi
13,107 PointsHi! I found this. I haven't tried it yet, but hopefully it'll help us.. Let me know, please.
Enara L. Otaegi
13,107 PointsEnara L. Otaegi
13,107 PointsI had no time yet to do this.. Thanks for sharing!