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 trialVincent K
3,356 PointsWhere is treehouse updated video to adapt this for single view template?
Guys, Again, old version of xcode in video, and this time video tutorial uses an empty application template to create tableview based app from scratch, Anyone know if treehouse posted an update anywhere on the site about how to adapt tutorial for single view app?
Why havent the vids been updated since end of 2012.. unfair to students to be frank.
I mean in no way to take away from Amit whose teaching style I very much enjoy and benefit from.
3 Answers
Dino Paškvan
Courses Plus Student 44,108 PointsCreate a single view app. Delete the view controller and the main storyboard.
Paste this into the
application:didFinishLaunchingWithOptions:
method in the AppDelegate implementation (before the return YES;
statement:
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
Now you have an empty app.
Vincent K
3,356 PointsI have just tried this and after I dragged a table view controller over to the storyboard, the arrow (trigger) did not appear when I zoomed out. Is this going to be an issue later?
Dino Paškvan
Courses Plus Student 44,108 PointsAs an afterthought, maybe this info should be added to the Teacher's notes for that lesson? CC Amit Bijlani
Vincent K
3,356 PointsCan you see the Teacher's notes on the Treehouse app?
Stanley Gao
3,889 PointsI had the same problem with the arrow. My table view controller doesn't show the arrow and when I ran the app it says "Failed to instantiate the default view controller for UIMainStoryboardFile 'MainStoryboard' - perhaps the designated entry point is not set?"
Were you able to figure out what is the issue here?
Sergio Romo
1,426 PointsI have the same problem as Stanley Gao can you please help Dino Paškvan
Abby Griffiths
Python Web Development Techdegree Student 1,289 PointsGo to the attributes inspector of the View controller and tick the checkbox that says Initial View Controller
Vincent K
3,356 PointsVincent K
3,356 Pointshttp://codefromabove.com/2014/09/xcode-6-removing-storyboards-and-creating-useful-empty-projects/