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

iOS Build a Photo Browser iPhone App Collection Views Implementing UICollectionViewController

Jack Campbell
Jack Campbell
1,822 Points


I have followed this video very closely and have watched it multiple times. For some reason the return 10; part of the code is not working and is coming up with an error can someone please tell me why this may be?


Misha Shaposhnikov
Misha Shaposhnikov
8,718 Points

Can you please post the error log?

Stating nothing relevant in your subject line is a poor way to motivate people to help you out. The exclamation points don't add any value and decrease the usefulness of the forum. Please watch the video to the right side of your screen, labeled "Tips for asking questions".

1 Answer

Robert Bojor
Robert Bojor
Courses Plus Student 29,439 Points

Can you post your code? It's easier to debug when you don't have to imagine... :)