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

Boon Kiat Seah
Boon Kiat Seah
66,664 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.