SWRevealViewController
                                
                                 SWRevealViewController copied to clipboard
                                
                                    SWRevealViewController copied to clipboard
                            
                            
                            
                        How to detect the left view open
when open the left view I want to set UICllectionView.scrollEnabled = NO,but how to detect i Click the open button?
By adopting SWRevealViewControllerDelegate and implement:
    func revealController(_ revealController: SWRevealViewController!, willMoveTo position: FrontViewPosition) {
        if position == .right {
             // scrollEnabled = false
        }
        else if position == .left {
             // scrollEnabled = true
        }
    }