Latest 0.0.1
Homepage https://github.com/NilStack/NKDropdownMenu
License MIT
Platforms ios 8.0, requires ARC
Authors

Build
Verision
License

A drop down menu inspired by https://dribbble.com/shots/2286361-Hamburger-Menu-Animation. It’s not exactly the same as the original design because i don’t figure out some details. Please pull request if you can make it better.

gif

Usage

Cocoapods

 pod 'NKDropdownMenu'

Copy NKDropdownMenu folder to your project

Examples


    let items = ["Most Popular", "Latest", "Trending", "Nearest", "Top Picks"]

    let hamburgerMenu: NKDropdownMenu = NKDropdownMenu(items: items)

    hamburgerMenu.didSelectItemAtIndexHandler = {(indexPath: Int) -> () in
        print("Did select item at index: (indexPath)")

    }

    self.navigationItem.leftBarButtonItem = UIBarButtonItem(customView: hamburgerMenu)

TODO

  • more testing
  • make details better

License

This code is distributed under the terms and conditions of the MIT license.

Thanks

Awesome design by Gal Shir

Elegant dropdown menu BTNavigationDropdownMenu by Pham Ba Tho

Latest podspec

{
    "name": "NKDropdownMenu",
    "version": "0.0.1",
    "summary": "A drop down menu inspired by https://dribbble.com/shots/2286361-Hamburger-Menu-Animation.",
    "description": "A drop down menu inspired by https://dribbble.com/shots/2286361-Hamburger-Menu-Animation.nIt's not exactly the same as the original design.",
    "homepage": "https://github.com/NilStack/NKDropdownMenu",
    "screenshots": "https://db.tt/H0ZclkeB",
    "license": "MIT",
    "authors": {
        "Peng Guo": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/NilStack/NKDropdownMenu.git",
        "tag": "0.0.1"
    },
    "source_files": "NKDropdownMenu/*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This