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 Blog Reader iPhone App Viewing a Web Page Navigation Controller

Rami Ammoun
Rami Ammoun
7,468 Points

MainStoryboard is not identifying "WebViewController" Class

I added the WebViewController file but I used the Cocoa Touch Class since Xcode 6.1 is different than what's in this video. When I click the main story board then the ViewController, the WebViewController is not there in the Class list (In the Identity Inspector). Any ideas?

my screenshot/ image link

1 Answer

Michael Hulet
Michael Hulet
47,912 Points

It looks like you're selecting an Interface Builder representation of a View, and not a View Controller. If you select the entire view controller in the side bar on the left, you should have an option in the dropdown menu that you posted a screenshot of to classify it as a WebViewController

Rami Ammoun
Rami Ammoun
7,468 Points

You're right! That fixed it. Thank you!