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

Boon Kiat Seah
Boon Kiat Seah
66,640 Points

Building a Self Destruction iPhone App Code Challenge

Can someone provide a clearer explanation on the instruction below, i don't understand what it is trying to ask me to do in the code challenge. :::: In this Code Challenge we are working on an app to download videos of the Treehouse Show, which are listed in a table view. Create a list of shows to download by adding the code below to mark rows as selected or not using 'UITableViewCellAccessoryCheckmark' and 'UITableViewCellAccessoryNone'.

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

In this code challenge you just need to set the 'accessoryType' property of the 'cell' in a similar manner as we did in the video. One value is used in the "if" block and the other is used in the "else" block.