A not bad gooey effects menu.

Related tags

Menu KYGooeyMenu
Overview

KYGooeyMenu

CocoaPods Version License Platform

带粘性的扇形菜单

Path menu with gooey effectes.

灵感来自这个Dribbble设计:

Inspired by this dribbble:

###下面是实现的效果: ###Here is what the repo can do:

1、点击每个具体的菜单可以获得相应的编号,使用时,可以switch这个序号进行想要的后续操作。

1.Tap each menu,you will get the number in the protocol method,so you can switch-case the number to do the later work.

2、可自定义菜单个数。

2.You can customize the number of the menu.

3、可自定义父菜单和子菜单间距。

3.You can customize the distance between super menu and the sub menus.

4、自定义颜色。

4.Customize the theme color.

5、自定义菜单图标。

4.Customize menu icon.

also,you can set the menu's icon:

##Installation

pod 'KYGooeyMenu', '~> 1.0.5'

##Usage ###Initialize

    gooeyMenu = [[KYGooeyMenu alloc]initWithOrigin:CGPointMake(CGRectGetMidX(self.view.frame)-50, 500) andDiameter:100.0f andDelegate:self themeColor:[UIColor redColor]];
    gooeyMenu.menuDelegate = self;
    gooeyMenu.radius = 100/4;     //这里把小圆半径设为大圆的1/4
    gooeyMenu.extraDistance = 20; //间距设为R+r+20。注:R+r是默认存在的。
    gooeyMenu.MenuCount = 4;      //4个子菜单
    gooeyMenu.menuImagesArray = [NSMutableArray arrayWithObjects:
        [UIImage imageNamed:@"tabbarItem_discover highlighted"],
        [UIImage imageNamed:@"tabbarItem_group highlighted"],
        [UIImage imageNamed:@"tabbarItem_home highlighted"],
        [UIImage imageNamed:@"tabbarItem_message highlighted"],
        [UIImage imageNamed:@"tabbarItem_user_man_highlighted"], nil];

###implement protocol method

-(void)menuDidSelected:(int)index{
    NSLog(@"选中第%d",index);
}

##That's it! Enjoy!

##版本 ##Version ###v2.0.0 I'm sorry to tell you that the version 2.0.0 is under testing. So if you download the newest repo, you will see the test version2.0.0(not finished yet)by default. If you want to check the former version, just open the version1's code in the project.

###v1.0.5

增加自定义背景图。Add custom meun icon.

###v1.0.4 隐藏Menu时,背后的子菜单也会消失。When you hide the menu,the sub-menu in the back will also hide.

##License This project is under MIT License. See LICENSE file for more information.

You might also like...
Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine.
Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine.

GuillotineMenu.swift Inspired by this project on Dribbble Also, read how it was done in our blog Requirements iOS 8.0+ Xcode 10 Swift 5.0 (v 4.1+) Swi

iOS Interactive Side Menu written in Swift.
iOS Interactive Side Menu written in Swift.

Interactive Side Menu A customizable, interactive, auto expanding and collapsing side menu for iOS written in Swift. Here are some of the ways Interac

A menu based on Medium iOS app.
A menu based on Medium iOS app.

Medium 1.8.168 menu in Swift. That is still one of my favorite menus because that is easy to use and looks beautiful.

A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram)
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram)

Unfortunately, life gets in the way sometimes and I won't be able to maintain this library any longer and upgrade this library to where it needs to be

PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries.
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries.

PagingKit provides customizable menu & content UI. It has more flexible layout and design than the other libraries. What's this? There are many librar

A paging view controller with a highly customizable menu ✨
A paging view controller with a highly customizable menu ✨

Getting Started | Customization | Installation Features Parchment lets you page between view controllers while showing any type of generic indicator t

A fully customizable popup style menu for iOS 😎
A fully customizable popup style menu for iOS 😎

Guide Check out the documentation and guides for details on how to use. (Available languages:) English 简体中文 What's a better way to know what PopMenu o

Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.

▤ SideMenu If you like SideMenu, give it a ★ at the top right of this page. SideMenu needs your help! If you're a skilled iOS developer and want to he

iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app.  It is written in pure swift.
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift.

SlideMenuControllerSwift iOS Slide View based on iQON, Feedly, Google+, Ameba iPhone app. Installation CocoaPods pod 'SlideMenuControllerSwift' Carth

Comments
  • Several changes

    Several changes

    Hello, thanks for your awesome code! I really love the job with the animations you did, amazing!

    I'm sending a pull request with some minor fixes for problems I've found while using your code. Please have your time to consider merging it and let me know if there's something I can help with.

    Best!

    opened by ale0xb 0
  • 小bug

    小bug

    gooeyMenu = [[KYGooeyMenu alloc]initWithOrigin:CGPointMake(CGRectGetMidX(self.view.frame)-50, 500) andDiameter:100.0f andDelegate:self themeColor:[UIColor redColor]];
    gooeyMenu.menuDelegate = self;
    gooeyMenu.radius = 100/4;     //这里把小圆半径设为大圆的1/4
    gooeyMenu.extraDistance = 20; //间距设为R+r+20。注:R+r是默认存在的。
    gooeyMenu.MenuCount = 4;      //4个子菜单
    gooeyMenu.menuImagesArray = [NSMutableArray arrayWithObjects:
        [UIImage imageNamed:@"tabbarItem_discover highlighted"],
        [UIImage imageNamed:@"tabbarItem_group highlighted"],
        [UIImage imageNamed:@"tabbarItem_home highlighted"],
        [UIImage imageNamed:@"tabbarItem_message highlighted"],
        [UIImage imageNamed:@"tabbarItem_user_man_highlighted"], nil];
    

    子菜单是4,但是传入的数组图片是5的话,会报错的

    opened by DaiChaoLi 0
Owner
Qitao Yang
Qitao Yang
SwiftySideMenu is a lightweight and easy to use side menu controller to add left menu and center view controllers with scale animation based on Pop framework.

SwiftySideMenu SwiftySideMenu is a lightweight, fully customizable, and easy to use controller to add left menu and center view controllers with scale

Hossam Ghareeb 84 Feb 4, 2022
A Slide Menu, written in Swift, inspired by Slide Menu Material Design

Swift-Slide-Menu (Material Design Inspired) A Slide Menu, written in Swift 2, inspired by Navigation Drawer on Material Design (inspired by Google Mat

Boisney Philippe 90 Oct 17, 2020
Slide-Menu - A Simple Slide Menu With Swift

Slide Menu!! Весь интерфейс создан через код

Kirill 0 Jan 8, 2022
Swift-sidebar-menu-example - Create amazing sidebar menu with animation using swift

 SWIFT SIDEBAR MENU EXAMPLE In this project I create a awesome side bar menu fo

Paolo Prodossimo Lopes 4 Jul 25, 2022
Hamburger Menu Button - A hamburger menu button with full customization

Hamburger Menu Button A hamburger menu button with full customization. Inspired by VinhLe's idea on the Dribble How to use it You can config the looks

Toan Nguyen 114 Jun 12, 2022
Interactive view transition to display menus with flowing and bouncing effects in Swift

FlowingMenu FlowingMenu provides an interactive transition manager to display menu with a flowing and bouncing effects. The Objective-C countepart is

Yannick Loriot 975 Dec 21, 2022
Slide Menu (Drawer) in Swift

AKSwiftSlideMenu Slide Menu (Drawer) in Swift 5.0 Why to use a library everytime? Let's create our own Slide Menu in Swift 5.0 I have uploaded a video

Ashish Kakkad 281 Jan 5, 2023
⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion

CIRCLE MENU Simple, elegant UI menu with a circular layout and material design animations We specialize in the designing and coding of custom UI for M

Ramotion 3.4k Dec 29, 2022
A simple side menu for iOS written in Swift.

ENSwiftSideMenu A lightweight flyover side menu component for iOS with the UIDynamic's bouncing animation, UIGestures and UIBlurEffect. Allows you to

Evgeny Nazarov 1.8k Dec 21, 2022
Menu with a circular layout based on Macaw

FanMenu Easily customizable floating circle menu created with Macaw We are a development agency building phenomenal apps. Usage Create UIView in your

Exyte 716 Dec 5, 2022