Latest 0.0.2
Homepage https://github.com/TinySungo/MTPopMenu
License MIT
Platforms ios 9.0
Authors

相对于一个视图的下拉菜单,类似微信右上角的➕按钮

How to use

let menu = MTPopMenu.sharedPopMenu()
menu.popMenu(anchorView: btn, titleArray: ["全部", "哈哈哈", "啦啦啦啦啦啦", "哒哒哒哒哒"])
menu.selectTextColor = .green // 选中字体颜色
menu.menuBgColor = .lightGray // table背景色
menu.didSelectItem = { (index, model) in
print(index, model)
}

Latest podspec

{
    "name": "MTPopMenu",
    "version": "0.0.2",
    "summary": "the project provide a sample menu for u like wechat homepage",
    "description": "the project provide a sample menu for u u2764nWeChat homepage + button nu can design yourself UI",
    "homepage": "https://github.com/TinySungo/MTPopMenu",
    "license": "MIT",
    "authors": {
        "TinySungo": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "3.2",
    "source": {
        "git": "https://github.com/TinySungo/MTPopMenu.git",
        "tag": "0.0.2",
        "commit": "101dc7ca0e5fb7a62a12c55e1a2ac614f5ad9ae1"
    },
    "source_files": "MTPopMenu/Menu/*.swift"
}

Pin It on Pinterest

Share This