I am using left side menu from this pod. here I have given storyboard side menu button to UISideMenuNavigationController Present Modually Segue and side menu is working fine and here I want to use its delegate methods delegate methods but here i am getting below error why??
I have import it in swift file and just clean the build, restart the mac still same error why?? any idea please help me.
I have written below code:
import UIKit
import SwiftKeychainWrapper
import SideMenu
class ProfileViewController: UIViewController, UITextFieldDelegate {
override func viewDidLoad() {
super.viewDidLoad()
}
@IBAction func sideMenubtn(_ sender: Any) {
view?.backgroundColor = UIColor(white: 1, alpha: 0.9)
}
}
extension ProfileViewController : SideMenuNavigationControllerDelegate {
func sideMenuWillDisappear(menu: SideMenuNavigationController, animated: Bool) {
view?.backgroundColor = UIColor.white
}
}
I got this error:
Use of undeclared type
SideMenuNavigationControllerDelegate
Use of undeclared type
SideMenuNavigationController
This is small demo project you can find pod installing and error here github demo project
please help me.