SideBar is a framework for creating an easy to access Safari-like bookmark sidebar
Swipe left on any part of the screen to bring out the sidebar and swipe right to dismiss it.
Import SideBar framework and add the following code to get started.
let mainView = MainView()
self.present(mainView, animated: true, completion: nil)
Add views to mainView like you would to view.
let imageView: UIImageView = {
let imgView = UIImageView()
return imgView
}()
imageView.snp.makeConstraints { make in
make.width.equalTo(view)
make.height.equalTo(view)
}
imageView.image = UIImage(named: "someimage")
mainView.view.addSubview(imageView)