Git Product home page Git Product logo

berry's Introduction

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.

berry's People

Contributors

devswi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

berry's Issues

a menu bug

screen shot 2017-04-21 at 11 14 53 pm

there is a gap bewteen the navigation bar and the menu ... i wonder where there is a problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.