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
Thanks for the work! But, I noticed a bug. To replicate:
Click menu button
Select the same view controller option with the one you have now
Click again to menu button and it doesn't work.
Click again now it works but view is messed up.
Problem is with sender.tag use. I fixed it by checking iif (view.subviews.last?.restorationIdentifier == "SlideMenuView") insted of checking for sender's tag. That seemed cleaner and more generic to me and also fixed the problem.
Also I made slidemenuvc a property of BaseViewController so that it doesn't initialize every time.
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for the work! But, I noticed a bug. To replicate:
Problem is with sender.tag use. I fixed it by checking
iif (view.subviews.last?.restorationIdentifier == "SlideMenuView")
insted of checking for sender's tag. That seemed cleaner and more generic to me and also fixed the problem.Also I made slidemenuvc a property of BaseViewController so that it doesn't initialize every time.
The text was updated successfully, but these errors were encountered: