Skip to content

Aku-n06/ASBubbleMenu

Repository files navigation

ASBubbleMenu

Simple bubble menu animated :

alt tag

installation :

  • Just copy the ASMenuBubble folder to your project

  • Or, if you are using CocoaPod, add the followind line to yur Podfile (adding the use_frameworks! flag at the end)

    pod 'ASBubbleMenu', :git => 'https://github.com/scamps88/ASBubbleMenu.git'

    use_frameworks!

implementation :

  • to implement ASBubbleMenu just give him an array of UIimages and it will show them :

    var bubbleMenu : ASMenuBubble!
    
    bubbleMenu = ASMenuBubble(frame: CGRectZero)
    bubbleMenu.showWithIcons(icons)
  • the ASMenuBubbleDelegate protocol will return the index selected :

func ASMenuBubbleSelectedMenuItemAtIndex(index: NSInteger) { } ```

  • to close the menu just call this method :
    bubbleMenu.closeAnimated()

licence :

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

About

Fancy bubbe menu of icons for ios (made in swift)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published