Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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... :)