All Projects → Kjuly → Kycirclemenu

Kjuly / Kycirclemenu

Licence: mit
An iOS UI control that allows you to build a circular menu by laying out buttons in a circle pattern adjusting from the number of buttons (1~6).

Labels

Projects that are alternatives of or similar to Kycirclemenu

Jgmenu
A simple X11 menu
Stars: ✭ 523 (-33.29%)
Mutual labels:  menu
Llslidemenu
This is a spring slide menu for iOS apps - 一个弹性侧滑菜单
Stars: ✭ 591 (-24.62%)
Mutual labels:  menu
Wmzdialog
功能最多样式最多的弹窗,支持普通/微信底部/日期/地区/日历/选择/编辑/分享/菜单/自定义弹窗等,支持多种动画,链式编程调用(Pop-up windows with the most functions and styles, support normal/WeChat bottom/date/region/calendar/select/edit/share/menu/custom pop-up windows, etc., support multiple animations, chain programming calls)
Stars: ✭ 673 (-14.16%)
Mutual labels:  menu
Sidemenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.
Stars: ✭ 5,267 (+571.81%)
Mutual labels:  menu
Hvscrollview
这不是框架,只是3个示例程序,给大家提供一个实现这种布局的思路
Stars: ✭ 584 (-25.51%)
Mutual labels:  menu
Knife
A burp extension that add some useful function to Context Menu 添加一些右键菜单让burp用起来更顺畅
Stars: ✭ 626 (-20.15%)
Mutual labels:  menu
Autoconnect
An Arduino library for ESP8266/ESP32 WLAN configuration at runtime with the Web interface
Stars: ✭ 513 (-34.57%)
Mutual labels:  menu
Anylayer
Android稳定高效的浮层创建管理框架
Stars: ✭ 745 (-4.97%)
Mutual labels:  menu
Side Menu.android
Side menu with some categories to choose.
Stars: ✭ 5,187 (+561.61%)
Mutual labels:  menu
Luxbar
🍸 Featherweight, Responsive, CSS Only Navigation Bar
Stars: ✭ 663 (-15.43%)
Mutual labels:  menu
React Contexify
Add a context menu to your react app with ease
Stars: ✭ 575 (-26.66%)
Mutual labels:  menu
Android Snake Menu
imitate Tumblr's menu, dragging animations look like a snake
Stars: ✭ 584 (-25.51%)
Mutual labels:  menu
Slinky
A light-weight, responsive, mobile-like navigation menu plugin
Stars: ✭ 649 (-17.22%)
Mutual labels:  menu
Fabrevealmenu Master
A general purpose android UI library to show a user show menu in accordance of Floating action button with material design guidelines.
Stars: ✭ 558 (-28.83%)
Mutual labels:  menu
Boommenu
A menu which can ... BOOM! - Android
Stars: ✭ 5,753 (+633.8%)
Mutual labels:  menu
Arduinomenu
Arduino generic menu/interactivity system
Stars: ✭ 520 (-33.67%)
Mutual labels:  menu
Fan Menu
Menu with a circular layout based on Macaw
Stars: ✭ 607 (-22.58%)
Mutual labels:  menu
Hamburgers
Tasty CSS-animated Hamburgers
Stars: ✭ 6,522 (+731.89%)
Mutual labels:  menu
Popover
一款优雅易用的类似QQ和微信消息页面的右上角微型菜单弹窗
Stars: ✭ 732 (-6.63%)
Mutual labels:  menu
Laravel Menu
Html menu generator for Laravel
Stars: ✭ 650 (-17.09%)
Mutual labels:  menu

KYCircleMenu

A circle menu with toggling animation. And you can customize the number of buttons between (1 ~ 6).

This control is separated from iPokeMon (a PokéMon game on iOS with Location Based Service), you can take a look at the demo video how cool it is!

Usage

Designated Initializer

Use the designated initializer below to initialize the circle menu:

// |buttonCount| : count of buttons around (1<= x <=6)
// |menuSize| : size of menu
// |buttonSize| : size of buttons around
// |buttonImageNameFormat| : name format for button image
// |centerButtonSize| : size of center button
// |centerButtonImageName| : name for center button image
// |centerButtonBackgroundImageName| : name for center button background image
- (id)      initWithButtonCount:(NSInteger)buttonCount
                       menuSize:(CGFloat)menuSize
                     buttonSize:(CGFloat)buttonSize
          buttonImageNameFormat:(NSString *)buttonImageNameFormat
               centerButtonSize:(CGFloat)centerButtonSize
          centerButtonImageName:(NSString *)centerButtonImageName
centerButtonBackgroundImageName:(NSString *)centerButtonBackgroundImageName;

Button Action

Override the -runButtonActions: message to customize your button action:

- (void)runButtonActions:(id)sender {
  [super runButtonActions:sender];

  // Do buttons' action appropriately by |[sender tag]|
  // ...
}

Tags are defined like below:

TAG:        1       1   2      1   2     1   2     1 2 3     1 2 3
           \|/       \|/        \|/       \|/       \|/       \|/
COUNT: 1) --|--  2) --|--   3) --|--  4) --|--  5) --|--  6) --|--
           /|\       /|\        /|\       /|\       /|\       /|\
TAG:                             3       3   4     4   5     4 5 6

Navigation Bar

The default case is that the navigation bar is only shown in child views. If you want it to be shown with the circle menu together, add the macro below

#define KY_CIRCLEMENU_WITH_NAVIGATIONBAR 1

to your constatns.h or config.h, or any other files that are imported in your <Project>-Prefix.pch.


License

This code is distributed under the terms and conditions of the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].