matghazaryan / AMSlideMenu2

Sliding Menu for iOS (Left and Right menus). Multiple storyboards and XIBs support.
MIT License
1.2k stars 194 forks source link

Warning: Null passed to a callee that requires a non-null argument #176

Closed riyanpratamap closed 8 years ago

riyanpratamap commented 8 years ago

Hi, my app runs but I get this warning /Users/riyanpratama/Documents/XCODE/myAMSlideMenu/myAMSlideMenu/AMSlideMenu/AMSlideMenuContentSegue.m:53:33: Null passed to a callee that requires a non-null argument

It points to AMSlideMenuContentSegue class, on method -perform mainVC.currentActiveNVC.viewControllers = nil;

I hope you aware of this warning and fix it asap. Thank you.

arturdev commented 8 years ago

Please, replace that line with following:

mainVC.currentActiveNVC.viewControllers = [NSArray new];