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 Build a Playlist Browser with Objective-C Working With Multiple View Controllers Master-Detail User Interface

Caleb Kleveter
Caleb Kleveter
Treehouse Moderator 37,862 Points

Specifying the class on the second view controller.

In this video at about 3 minutes and 32 seconds Pasan specifies witch .h and .m files control the "PlaylistDetailViewContoller", but the files are not in my drop-down menu, what do I do?

6 Answers

If you have created the class file but they don't appear in the drop-down, make sure they both inherit from a ViewController super class, i.e. look at the first few lines of code in the .h file.

If they do, try a Product | Clean or, failing that, restart Xcode.

Else; shout - we'll see what more we can do!!


Not at all, no. Just shut down Score and start it again.

But check the class inheritance first.

Score = Xcode - damn you, autocorrect!


Laurie Gray
Laurie Gray
23,119 Points

I have the exact same problem. Created subclass of UIViewController checked the inheritance, still not appearing in drop down. Done it several times and followed exact steps in video and restarted Xcode. Any ideas?

Laurie Gray
Laurie Gray
23,119 Points

Figured it out - delete the new view controller and make a new one and they all appear - bizarre! xD