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

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!