Latest 0.1.0
Homepage https://github.com/BijeshNair/BNMenuViewController
License MIT
Platforms ios 9.0
Authors

Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod 'BNMenuViewController'

Implementation

let modalController = BNMenuViewController()
modalController.modalPresentationStyle = .overCurrentContext
modalController.delegate = self
modalController.arrayList = ["Item 1", "Item 2", "Item 3", "Item 4", "Item 5", "Item 6"]
modalController.arrayIcons = ["1", "2", "3", "4", "5", "6"]
modalController.iconSize = CGSize(width: 45, height: 45)
modalController.itemTextColor = .white
modalController.itemTextFont = UIFont(name: "Baskerville-SemiBoldItalic", size: 20)!
present(modalController, animated: false, completion: nil)

Make sure you set modalPresentationStyle as overCurrentContext

Author

Bijesh Nair, [email protected]

License

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

Latest podspec

{
    "name": "BNMenuViewController",
    "version": "0.1.0",
    "summary": "Animated menu for iOS",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/BijeshNair/BNMenuViewController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Bijesh Nair": "[email protected]"
    },
    "source": {
        "git": "https://github.com/BijeshNair/BNMenuViewController.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.2",
    "source_files": "BNMenuViewController/Classes/**/*"
}

Pin It on Pinterest

Share This