Latest 0.0.1
Homepage https://github.com/HongliYu/DPArrowMenu
License MIT
Platforms ios 10.0, requires ARC
Frameworks UIKit, Foundation
Authors

DPArrowMenu

Click the button in any position, show a list of menu

Cocoapods
Pod License
[Swift-4.0]()
Carthage Compatible

alt text

Usage

  // 1. Create view model, including title and image name.
    let arrowMenuViewModel0 = DPArrowMenuViewModel(title: "Find Teachers",
                                                   imageName: "iconProfessionalTeacherSemiBlack")
    let arrowMenuViewModel1 = DPArrowMenuViewModel(title: "Find Language Partners",
                                                   imageName: "iconUserFriendsSemiBlack24")
    viewModels.append(arrowMenuViewModel0)
    viewModels.append(arrowMenuViewModel1)

  // 2. Bind action, when user selects one of them
    DPArrowMenu.show(view, viewModels: viewModels, done: { index in
      print(index)
    }) {
      print("cancel")
    }

Latest podspec

{
    "name": "DPArrowMenuKit",
    "version": "0.0.1",
    "summary": "arrow menu",
    "description": "click the button in any position, show a list of menu",
    "homepage": "https://github.com/HongliYu/DPArrowMenu",
    "license": "MIT",
    "authors": {
        "HongliYu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/HongliYu/DPArrowMenu.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "10.0"
    },
    "requires_arc": true,
    "source_files": "DPArrowMenu/DPArrowMenuKit/",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "module_name": "DPArrowMenuKit",
    "swift_version": "4.2"
}

Pin It on Pinterest

Share This