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
Kyle V
781 PointsHow do you customize a Table View Cell?
Hello, I am currently working on the Blog Reader Project and I'm having trouble with customizing the prototype cells. Currently, I am downloading high resolution images from the JSON data and the app does not format the images correctly in the individual image cells. How can I customize the image so it fits better in the imageView? Thanks, Kyle
1 Answer
Stone Preston
42,016 Pointsyou can create a subclass of UITableView cell and customize it in storyboard by adding labels, image views etc and drag outlet connections to that subclasses header file. that will give you a lot more control over the cell. Be sure you set the prototypes cell's class to your subclass
Kyle V
781 PointsKyle V
781 PointsAlso, my scrolling on the table view is a little choppy. Is it because of the images being loaded from JSON data? If so how would I lower the size...
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherFor choppy scrolling check out this tip I posted here: https://teamtreehouse.com/forum/uitableview-scrolling-is-choppy-when-displaying-images-from-web