Storyboard doesn’t contain a view controller with identifier

I keep getting the following error: Storyboard (<UIStoryboard: 0x7ebdd20>) doesn’t contain a view controller with identifier ‘drivingDetails’ This is the code: – (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UIViewController *controller = [self.storyboard instantiateViewControllerWithIdentifier:@”drivingDetails”]; controller.title = [[dao libraryItemAtIndex:indexPath.row] valueForKey:@”name”]; [self.navigationController pushViewController:controller animated:YES]; } I have already set the identifier on the UIStoryboard but I’m still getting this … Read more

In a storyboard, how do I make a custom cell for use with multiple controllers?

I’m trying to use storyboards in an app I’m working on. In the app there are Lists and Users and each contains a collection of the other (members of a list, lists owned by a user). So, accordingly, I have ListCell and UserCell classes. The goal is to have those be re-usable throughout the app … Read more

How to dismiss ViewController in Swift?

I am trying to dismiss a ViewController in swift by calling dismissViewController in an IBAction @IBAction func cancel(sender: AnyObject) { self.dismissViewControllerAnimated(false, completion: nil) println(“cancel”) } @IBAction func done(sender: AnyObject) { self.dismissViewControllerAnimated(false, completion: nil) println(“done”) } I could see the println message in console output but ViewController never gets dismissed. What could be the problem? 20 … Read more

Is it possible to update a localized storyboard’s strings?

I localized a part of my application with creating a base.lproj storyboard and 3 string files for it. It was a month ago and after that I added new view controller to app, but this controller’s buttons and labels not appear in string files Is it possible to update this 3 storyboard attached string files … Read more