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

iOS 7 table views customisation

Hi i'd really like to know a good way to get rounded corners for images in table view cells, like the new Tweebot 3 app for iOS 7. thanks.

2 Answers

You will want to look into CoreGraphics and creating masks. Create yourself a plain circle in the size you would like to appear in your UITableViewCell and use it to mask a standard image.

I didn't test but the accept answer here look's like it should work: http://stackoverflow.com/questions/9585819/iphone-programmatically-crop-a-square-image-to-appear-as-circle

i just saw your answer; thanks for taking the time and i will have a close look at the links you gave me and the tips. thanks again.