You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same problem too.
I spend a few hours to locate this bug.
It was caused by the overrided method open override func loadView() { view = MenuView() } in ColorMatchTabsViewController.
You should add super.loadView() before add your own code like this: open override func loadView() { super.loadView() view = MenuView() }
After that, everything is ok!
Report a bug
What did you do?
called
self.performSegue(withIdentifier: "addItem", sender: self)
in the protocol methodfunc popoverViewController(_ popoverViewController: PopoverViewController, didSelectItemAt index: Int)
PopoverViewControllerDelegate function.Or initiating a segue by tapping a button on the navigation bar of a
ColorMatchTabsViewController
What did you expect to happen?
Segue to another view controller
What happened instead?
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'`
Your Environment
Project that demonstrates the bug
Sample project reproduces the bug by adding either a button to the nav bar with a segue, or initiating one
The text was updated successfully, but these errors were encountered: