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

Adam Krapish
Adam Krapish
4,097 Points

TableViewController not showing up in the class drop down

On rebuilding from scratch when I try to add the TableViewController class to the main stopryboard it does not show up in the class drop down. I tried deleting and re-adding the files but it doesn't work. Any suggestions?

5 Answers

Stone Preston
Stone Preston
42,016 Points

sometimes it wont show up. doing a product -> clean from the xcode menu will usually fix it. If not you can just type in the name manually in the text box. You dont have to choose it from the dropdown.

Adam Krapish
Adam Krapish
4,097 Points

Reset and it worked. Strange.

Adam Krapish
Adam Krapish
4,097 Points

Thanks for the tip

Adam Krapish
Adam Krapish
4,097 Points

Thanks for the tip

Ben Zenker
Ben Zenker
3,210 Points

I am having the same issue. Resetting, cleaning, and typing in the class doesn't work. Every time I navigate away from the storyboard, whatever I typed in doesn't persist.

EDIT: jk I found my mistake. I made my class a subclass of UIViewController instead of UITableViewController