storyboard
Unwind segue with Navigation back button
In the end I didn’t need to unwind the segue since I could still get a reference to the parent controller methods by following the navigation controller. I was able to get a reference by doing the following in the – (void)viewWillDisappear:(BOOL)animated method of the child controller NSInteger currentVCIndex = [self.navigationController.viewControllers indexOfObject:self.navigationController.topViewController]; FirstViewController *parent = … Read more
Unknown Window class (null) in Interface Builder file, creating generic Window instead
This warning also occurs when I build and run a brand new empty project in Xcode 9.1. Replacing the default NSWindow with an empty custom class of NSWindow with no changes does remove the error, but that behaviour makes no sense. Therefore, I’m filing it as a bug.
How to remove a Static Cell from a UITableView designed in StoryBoard
Try to hide the cell before it is shown, in UITableViewDelegate‘s tableView:willDisplayCell:forRowAtIndexPath: method. That’s the final method where you can manipulate the cell’s appearance. This however won’t remove the space the cell should take, so another thing you can try is to set cell row’s height to 0 using the tableView:heightForRowAtIndexPath: method of the same … Read more