A animated PopMenu for the iOS app in Swift.
- iOS 8.0+
- Swift 2.2
- Download and drop the whole folder popmenu/ into your project.
- finish !
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 !
use WSTabBarController to finish the demo proj.
PopMenu is available under the MIT license. See the LICENSE file for more info.