Latest 1.0.6
Homepage https://github.com/tungvoduc/DTButtonMenuController
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

Example

Screenshot

DTButtonMenuController is extremely easy to use. For minimal intergration in your project, here is what you need to do:

let viewController = DTButtonMenuController(highlightedView: view)
itemSize = CGSize(width: 50, height: 50)
itemsDistanceToTouchPoint = 100

// Add five item buttons into controller
for _ in 0...4 {
    let item = DTMenuButton(completionHandlerBlock: { (button: DTMenuButton) in

         })
     })

    // Extra configuration for item button, e.g backgroundColor, image, rounded corner

    // Add item button to controller
    viewController.addItem(item)
}

present(viewController, animated: true, completion: nil)

In common cases, you will not use DTButtonMenuController but subclass it and make your own controller.

Requirements

Installation

DTButtonMenuController is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "DTButtonMenuController"

Author

Tung Vo, [email protected]

License

DTButtonMenuController is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DTButtonMenuController",
    "version": "1.0.6",
    "summary": "A customizable control that displays a collection of buttons for selection. This control is extremely easy to use and customize.",
    "swift_version": "5.0",
    "description": "TODO: Add long description of the pod here.nDTButtonMenuController is a control for displaying a selection of buttons. DTButtonMenuController is extremely easy to use and customize.",
    "homepage": "https://github.com/tungvoduc/DTButtonMenuController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "tungvoduc": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tungvoduc/DTButtonMenuController.git",
        "tag": "1.0.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DTButtonMenuController/Classes/**/*"
}

Pin It on Pinterest

Share This