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
Ravin Kohli
3,367 PointsSegue not loading
I wrote the exact same code as ben did and when i run the app in the simulator inbox loads but the segue does not
3 Answers
Murat KAYA
10,127 PointsCan you send us ss,code snippet etc.
Ravin Kohli
3,367 Points'''Objective C
import "InboxTableViewController.h"
@interface InboxTableViewController ()
@end
@implementation InboxTableViewController
-
(void)viewDidLoad { [super viewDidLoad];
[self performSegueWithIdentifier:@"showLogin" sender:self]; }
(void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. }
pragma mark - Table view data source
-
(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
warning Incomplete implementation, return the number of sections
return 0; }
-
(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
warning Incomplete implementation, return the number of rows
return 0; }
@end '''
Murat KAYA
10,127 PointsDid you add navigation controller to the view ? and check the segue identifier
Ravin Kohli
3,367 Pointsit was resolved thank you i by mistake chose the show detail segue instead of the show segue