Sidemenu: Inheriting from UISideMenuNavigationController gives Fatal error: Use of unimplemented initializer 'init(nibName:bundle:)' for class 'SideMenu.UISideMenuNavigationController'

Created on 15 Jul 2019  路  3Comments  路  Source: jonkykong/SideMenu

I have read the guidelines for contributing and I understand

  • [ ] My issue is happening in the 6.0.0 of SideMenu
  • [ ] My issue was not solved in the README.
  • [ ] My issue can not be answered on stackoverflow.com.
  • [ ] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
  • [ ] My issue is reproducible in the demo project.

Describe the bug
App is crashing in init method of UISideMenuNavigationController, if New class is inherited from UISideMenuNavigationController & used.

To Reproduce
Steps to reproduce the behavior:

  1. Inherite from UISideMenuNavigationController
    2.Initialise customs navigation controller
  2. App will crash on init
  3. Fatal error: Use of unimplemented initializer 'init(nibName:bundle:)' for class 'SideMenu.UISideMenuNavigationController'

As per stack overflow answers for error *unimplemented initializer 'init(nibName:bundle:)' for class * we must override initWithNibName method but subclass of UISideMenuNavigationController is not allowed to override initWithNibName as it is not overridden in UISideMenuNavigationController.

Bug - Help Wanted!

Most helpful comment

Fixed in 6.0.2.

All 3 comments

ok, rollback to 5.0.3 until fix this...

waiting fix

Fixed in 6.0.2.

Was this page helpful?
0 / 5 - 0 ratings