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

WebViewController.m is created but is empty

I followed the steps of creating WebViewController, but my WebViewController.m is empty, it doesn't have the default methods such as -(void) viewDidLoad , -(void)didReceiveMemoryWarning...

Did I do something wrong? I created it with xcode6 and instead of picking subclass of "UIViewController", it only gave me option of class "UIViewController"... Help!

obey me
obey me
1,135 Points

Can you put the code for us to see it

obey me , thanks but I finally figured it out. The tutorial is using an older version of xcode so the steps on creating a new custom class UITableViewController is a tad different from mine, which is xcode6.

When creating a new file i was doing using

Ctrl+N>iOS>Source>Obj-C File (this created an empty @implementation file)

instead of

Ctrol+N>iOS>Source>Cocoa Touch Class.

1 Answer

The tutorial is using an older version of xcode so the steps on creating a new custom class UITableViewController is a tad different from mine, which is xcode6.

When creating a new file i was doing using

Ctrl+N>iOS>Source>Obj-C File (this created an empty @implementation file)

instead of

Ctrol+N>iOS>Source>Cocoa Touch Class.