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 trialChristina Gunarto
2,607 PointsWebViewController.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!
Christina Gunarto
2,607 Pointsobey 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
Christina Gunarto
2,607 PointsThe 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.
obey me
1,135 Pointsobey me
1,135 PointsCan you put the code for us to see it