hoho1221 / PopMenu

PopMenu is a animated pop menu for the iOS app with Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License MIT  Support  Swift 2.2

PopMenu

A animated PopMenu for the iOS app in Swift.

Rise

Diffuse

Requirements

  • iOS 8.0+
  • Swift 2.2

Installation

Manually

  1. Download and drop the whole folder popmenu/ into your project.
  2. finish !

Usage

let popMenu = PopMenu(frame: self.window!.bounds, item: itemArray);
popMenu.type = .Diffuse;
                
popMenu.itemClicked = { index in
    print("the \(index)'s item was clicked.");
}

popMenu.showMenuAtView(self.window!);

have fun !

Addition

use WSTabBarController to finish the demo proj.

License

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

About

PopMenu is a animated pop menu for the iOS app with Swift

License:MIT License


Languages

Language:Swift 97.9%Language:Objective-C 2.1%