Hamburger Menu Button
Switch branches/tags
Nothing to show
Clone or download
Latest commit 384032b Oct 29, 2015
Failed to load latest commit information.
MenuButton.xcodeproj init project Oct 28, 2015
MenuButton init project Oct 28, 2015
.gitignore Initial commit Oct 28, 2015
LICENSE Initial commit Oct 28, 2015 Update Oct 29, 2015

Hamburger Menu Button

A hamburger menu button with full customization. Inspired by VinhLe's idea on the Dribble

![Preview] (

How to use it

You can config the looks of the button through Xcode Inspector

![Xcode Inspector] (

Or you can make a button on your own by doing this:

  let firstButton = MenuButton(frame: CGRectMake(100, 100, 60, 60))
  firstButton.addTarget(self, action: "buttonClick:", forControlEvents: UIControlEvents.TouchUpInside)
  firstButton.lineWidth = 30
  firstButton.lineMargin = 12
  firstButton.lineCapRound = true
  firstButton.thickness = 6
  firstButton.slideLeftToRight = false
  firstButton.backgroundColor = UIColor.purpleColor()
  firstButton.cornerRadius = 10


MIT license. See the LICENSE file for details.