Skip to content

jtCodes/SideBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SideBar

SideBar is a framework for creating an easy to access Safari-like bookmark sidebar

Design


Swipe left on any part of the screen to bring out the sidebar and swipe right to dismiss it.

Instructions

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)

About

SideBar is a framework for creating an easy to access Safari-like bookmark sidebar.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published