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!
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

Alex Taylor
2,758 PointsCustomizing Table View Controller
Hi, I have just watched the section on customizing the table view controller, and I was wondering whether it was possible to create a table view with multiple columns to display data? and how you would go about doing this? It is something I am interested in for a project I am working on.
Any help would be much appreciated! Thanks, Alex
1 Answer

Holger Liesegang
50,595 PointsHi Alex,
UITableView doesn't support multiple columns but you can either use an UICollectionView instead or e. g. define a custom cell for an UITableView which then will contain the amount of UILabel's you need for the columns to show up.
Alex Taylor
2,758 PointsAlex Taylor
2,758 PointsThank you! I will look into the documentation for UICollectionView and see how I go!