Berry 1.0.0

Berry 1.0.0

TestsTested ✗
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2019
SPMSupports SPM ✗

Maintained by JerryShi.



Berry 1.0.0

  • By
  • shiwei93

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.