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

George S-T
George S-T
6,624 Points

Can't select the custom class for the Inbox View Controller?

On the 'Adding login and sign up screens' video, he makes a new class called 'InboxViewController'. He then goes on the storyboard at clicks the Inbox table view, and selects it's custom class to 'InboxViewController'. InboxViewController isn't coming up as an option for me at all, even after refreshing the page and building.

1 Answer

Matthew Mascioni
Matthew Mascioni
20,444 Points

Hey George,

Ensure that your InboxViewController is a subclass of UITableViewController when you create it. Otherwise, try cleaning your build folder (Product > Clean).

George S-T
George S-T
6,624 Points

The cleaning worked! Thanks very much!