{"id":18036064,"url":"https://github.com/kjuly/kycirclemenu","last_synced_at":"2025-04-04T16:17:02.557Z","repository":{"id":6283139,"uuid":"7517246","full_name":"Kjuly/KYCircleMenu","owner":"Kjuly","description":"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).","archived":false,"fork":false,"pushed_at":"2015-07-04T03:58:58.000Z","size":795,"stargazers_count":785,"open_issues_count":0,"forks_count":154,"subscribers_count":53,"default_branch":"dev","last_synced_at":"2025-03-28T15:11:21.290Z","etag":null,"topics":["ios","menu","objective-c"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kjuly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-09T08:13:32.000Z","updated_at":"2025-02-08T12:35:49.000Z","dependencies_parsed_at":"2022-09-12T21:20:20.488Z","dependency_job_id":null,"html_url":"https://github.com/Kjuly/KYCircleMenu","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kjuly%2FKYCircleMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kjuly%2FKYCircleMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kjuly%2FKYCircleMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kjuly%2FKYCircleMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kjuly","download_url":"https://codeload.github.com/Kjuly/KYCircleMenu/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208190,"owners_count":20901570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","menu","objective-c"],"created_at":"2024-10-30T12:11:25.869Z","updated_at":"2025-04-04T16:17:02.505Z","avatar_url":"https://github.com/Kjuly.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" \u003e\n  \u003cimg src=\"https://raw.github.com/Kjuly/KYCircleMenu/dev/LOGO.png\" alt=\"\" title=\"KYCircleMenu\"\u003e\n\u003c/p\u003e\n\nKYCircleMenu\n============\n\nA circle menu with toggling animation. And you can customize the number of buttons between (1 ~ 6).\n\n![](https://raw.github.com/Kjuly/KYCircleMenu/dev/DemoScreenshot/demo_screenshot_1.png)\n![](https://raw.github.com/Kjuly/KYCircleMenu/dev/DemoScreenshot/demo_screenshot_2.png)\n![](https://raw.github.com/Kjuly/KYCircleMenu/dev/DemoScreenshot/demo_screenshot_3.png)\n![](https://raw.github.com/Kjuly/KYCircleMenu/dev/DemoScreenshot/demo_screenshot_4.png)\n![](https://raw.github.com/Kjuly/KYCircleMenu/dev/DemoScreenshot/demo_screenshot_5.png)\n![](https://raw.github.com/Kjuly/KYCircleMenu/dev/DemoScreenshot/demo_screenshot_6.png)\n\nThis control is separated from [iPokeMon](https://github.com/Kjuly/iPokeMon) (a PokéMon game on iOS with Location Based Service), you can take a look at the demo video how cool it is!\n\n\u003c!-- MacBuildServer Install Button --\u003e\n\u003cdiv class=\"macbuildserver-block\"\u003e\n    \u003ca class=\"macbuildserver-button\" href=\"http://macbuildserver.com/project/github/build/?xcode_project=KYCircleMenuDemo%2FKYCircleMenuDemo.xcodeproj\u0026amp;target=KYCircleMenuDemo\u0026amp;repo_url=git%3A%2F%2Fgithub.com%2FKjuly%2FKYCircleMenu.git\u0026amp;build_conf=Release\" target=\"_blank\"\u003e\u003cimg src=\"http://com.macbuildserver.github.s3-website-us-east-1.amazonaws.com/button_up.png\"/\u003e\u003c/a\u003e\u003cbr/\u003e\u003csup\u003e\u003ca href=\"http://macbuildserver.com/github/opensource/\" target=\"_blank\"\u003eby MacBuildServer\u003c/a\u003e\u003c/sup\u003e\n\u003c/div\u003e\n\u003c!-- MacBuildServer Install Button --\u003e\n\n\n- [Youtube](http://www.youtube.com/watch?v=otiBQnwdt0U) - 2012-05-09\n- [Youku](http://v.youku.com/v_show/id_XNDA1MjExMDg4.html) - 2012-06-03 (Newer)\n\n# Usage\n\n### Designated Initializer\n\nUse the designated initializer below to initialize the circle menu:\n\n    // |buttonCount| : count of buttons around (1\u003c= x \u003c=6)\n    // |menuSize| : size of menu\n    // |buttonSize| : size of buttons around\n    // |buttonImageNameFormat| : name format for button image\n    // |centerButtonSize| : size of center button\n    // |centerButtonImageName| : name for center button image\n    // |centerButtonBackgroundImageName| : name for center button background image\n    - (id)      initWithButtonCount:(NSInteger)buttonCount\n                           menuSize:(CGFloat)menuSize\n                         buttonSize:(CGFloat)buttonSize\n              buttonImageNameFormat:(NSString *)buttonImageNameFormat\n                   centerButtonSize:(CGFloat)centerButtonSize\n              centerButtonImageName:(NSString *)centerButtonImageName\n    centerButtonBackgroundImageName:(NSString *)centerButtonBackgroundImageName;\n\n### Button Action\n\nOverride the `-runButtonActions:` message to customize your button action:\n\n    - (void)runButtonActions:(id)sender {\n      [super runButtonActions:sender];\n  \n      // Do buttons' action appropriately by |[sender tag]|\n      // ...\n    }\n\nTags are defined like below:\n\n    TAG:        1       1   2      1   2     1   2     1 2 3     1 2 3\n               \\|/       \\|/        \\|/       \\|/       \\|/       \\|/\n    COUNT: 1) --|--  2) --|--   3) --|--  4) --|--  5) --|--  6) --|--\n               /|\\       /|\\        /|\\       /|\\       /|\\       /|\\\n    TAG:                             3       3   4     4   5     4 5 6\n\n### Navigation Bar\n\nThe 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\n\n    #define KY_CIRCLEMENU_WITH_NAVIGATIONBAR 1\n\nto your __constatns.h__ or __config.h__, or any other files that are imported in your __\\\u003cProject\\\u003e-Prefix.pch__.\n\n---\n# License\n\nThis code is distributed under the terms and conditions of the MIT license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjuly%2Fkycirclemenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjuly%2Fkycirclemenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjuly%2Fkycirclemenu/lists"}