Create a brand new Xcode project and add AKSideMenu library.
Embed ViewController in NavigationController.
call self.sideMenuViewController in viewDidAppear.
Expected Result
If there are no side menu controller embedded then self.sideMenuViewController will return nil.
Actual Result
self.sideMenuViewController call stuck in an infinite loop.
Tell us what could be improved:
When iterator.parent is nil, both if condition fails and while loop stuck in an infinite loop. There should be a nil validation of the iterator variable in sideMenuViewController var.
https://github.com/dogo/AKSideMenu/issues/47 is the duplicate card that hasn't been fixed yet. I cannot reopen due to insufficient permission.
Include the following:
1.4.4
13.1
iPhone 11 Pro Max (Simulator)
Reproduction Steps
self.sideMenuViewController
inviewDidAppear
.Expected Result
self.sideMenuViewController
will return nil.Actual Result
self.sideMenuViewController
call stuck in an infinite loop.Tell us what could be improved:
iterator.parent
isnil
, both if condition fails and while loop stuck in an infinite loop. There should be anil
validation of theiterator
variable insideMenuViewController
var.