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

Mark Cranston
Mark Cranston
1,817 Points

Collection View Formating

I have a collection view with an 8:10 aspect ratio and 80 cell. I followed this tutorial: https://www.youtube.com/watch?v=j3lwTzPBoLw How can I set parameters around the cells so that they all fit into the collection view in a 8x10 grid without scrolling and each maintains a 1:1 aspect ratio. I can't just add solid length and width parameters because if the screen size changes it will throw everything off. Thank you in advance!