Latest 1.0.0
Homepage https://github.com/shiwei93/Berry
License MIT
Platforms ios 9.0
Authors

Berry: Drop down menu in Swift

CocoaPods Compatible
License
Platform
Xcode

Berry is an drop down menu written by Swift 4.2.

ScreenShots

Screen shots

Customization & Usage

But if you want to customize your own drop down menu, Berry also provide some properties. You will find detail in Example project.

Display & Hide

Use display(withCompletion:) method to display drop dpwn menu with animation.

public func display(withCompletion completion: ((Bool) -> Void)? = nil)

Use hide(withCompletion:) method to hide drop down menu with animation.

public func hide(withCompletion completion: ((Bool) -> Void)? = nil)

Installation

Cocoapods

Berry is available through Cocoapods.

Add the following line to your Podfile

pod 'Berry'

Manually

Downloads the berry zip, copy all swift file on the Berry folder to your project.

License

Berry is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "Berry",
    "version": "1.0.0",
    "license": "MIT",
    "summary": "ud83dude0a Berry is an drop down menu written by Swift 4.2.",
    "homepage": "https://github.com/shiwei93/Berry",
    "authors": {
        "shiwei93": "[email protected]"
    },
    "source": {
        "git": "https://github.com/shiwei93/Berry.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "ios": {
        "frameworks": [
            "UIKit",
            "Foundation"
        ]
    },
    "swift_version": "4.2",
    "default_subspecs": "Core",
    "subspecs": [
        {
            "name": "Core",
            "source_files": [
                "Berry/Core/Classes/**/*.swift",
                "Berry/Configuration/Classes/**/*.swift"
            ]
        }
    ]
}

Pin It on Pinterest

Share This