{"id":2623,"url":"https://github.com/sunilsharma08/IGCMenu","last_synced_at":"2025-08-03T00:32:16.988Z","repository":{"id":56914941,"uuid":"51759095","full_name":"sunilsharma08/IGCMenu","owner":"sunilsharma08","description":"Grid and Circular Menu for iOS.","archived":false,"fork":false,"pushed_at":"2024-01-30T19:53:34.000Z","size":2338,"stargazers_count":139,"open_issues_count":7,"forks_count":20,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-24T14:50:31.870Z","etag":null,"topics":["circle-menu","grid-menu","igcmenu","ios-menu","menu","objective-c-menu","swift-menu"],"latest_commit_sha":null,"homepage":"http://sunilsharma08.github.io/IGCMenu","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/sunilsharma08.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-02-15T13:57:24.000Z","updated_at":"2024-04-21T12:48:45.000Z","dependencies_parsed_at":"2024-02-06T04:30:21.555Z","dependency_job_id":null,"html_url":"https://github.com/sunilsharma08/IGCMenu","commit_stats":{"total_commits":45,"total_committers":3,"mean_commits":15.0,"dds":"0.11111111111111116","last_synced_commit":"0659137ce298ce8385096b38de5c36d3613c5f9a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunilsharma08%2FIGCMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunilsharma08%2FIGCMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunilsharma08%2FIGCMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunilsharma08%2FIGCMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunilsharma08","download_url":"https://codeload.github.com/sunilsharma08/IGCMenu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510745,"owners_count":17931759,"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":["circle-menu","grid-menu","igcmenu","ios-menu","menu","objective-c-menu","swift-menu"],"created_at":"2024-01-05T20:16:18.593Z","updated_at":"2024-12-06T18:30:38.467Z","avatar_url":"https://github.com/sunilsharma08.png","language":"Objective-C","readme":"# IGCMenu\nIGCMenu library gives easy way to create **Grid** and **Circular** menu in app.\n\nThis is light weight and highly customisable menu.Support iOS 12 and above.\n\nFor swift check [swift branch](https://github.com/sunilsharma08/IGCMenu/tree/swift)\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eGrid Menu\u003c/th\u003e\n    \u003cth\u003eCircular Menu\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://raw.githubusercontent.com/sunilsharma08/IGCMenu/develop/Grid_Menu_Demo.gif\" alt=\"Grid Menu\" width=\"320\" height=\"568\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://raw.githubusercontent.com/sunilsharma08/IGCMenu/develop/Circular_Menu_Demo.gif\" alt=\"Circular Menu\" width=\"320\" height=\"568\"/\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n   \u003ctr\u003e\n    \u003cth\u003eBlured Background\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://raw.githubusercontent.com/sunilsharma08/IGCMenu/develop/IGCMenu_BluredBg.gif\" alt=\"Circular Menu\" width=\"320\" height=\"568\"/\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n# Features\n* Grid Menu\n* Circular Menu\n* Blur background\n* Enable/Diable menu background\n* Menu items can be without images/names\n\n# Installation\n\n## Installation with CocoaPods\nYou can use [CocoaPods](http://cocoapods.org/) to install `IGCMenu` by adding it to your `Podfile`:\n\n```Ruby\nplatform :ios, '12.0'\n\ntarget 'TargetName' do\npod 'IGCMenu'\nend\n```\nThen, run the following command:\n\n```Ruby\n$ pod install\n```\n## Manually\n\nDrag the folder \"IGCMenu\" with the source files into your project.\n\n# How to use\n\n## Import\n ```objc\n #import \"IGCMenu.h\"\n ```\n \n## Conform Protocol\n **Optional** if you don't want to get notify for menu items selection then skip this step.\n \n Conform to IGCMenuDelegate\n \n ```objc\n @interface ViewController : UIViewController\u003cIGCMenuDelegate\u003e\n ```\n \n## Create Instance Variable\n\nCreate instance variable of type IGCMenu.\n\n```objc\n@implementation ViewController{\n    IGCMenu *igcMenu;\n}\n```\n## Create instance of class IGCMenu and configure attributes\n\n```objc\nif (igcMenu == nil) {\n      igcMenu = [[IGCMenu alloc] init];\n  }\n  igcMenu.menuButton = self.menuButton;   //Pass refernce of menu button\n  igcMenu.menuSuperView = self.view;      //Pass reference of menu button super view\n  igcMenu.disableBackground = YES;        //Enable/disable menu background\n  igcMenu.numberOfMenuItem = 5;           //Number of menu items to display\n  \n  //Menu background. It can be BlurEffectExtraLight,BlurEffectLight,BlurEffectDark,Dark or None\n  igcMenu.backgroundType = BlurEffectDark;\n\n/* Optional\nPass name of menu items\n**/\n  igcMenu.menuItemsNameArray = [NSArray arrayWithObjects:@\"Home\",@\"Like\",@\"Search\",@\"User\",@\"Buy\",nil];\n  \n/*Optional\nPass color of menu items\n**/\nUIColor *homeBackgroundColor = [UIColor colorWithRed:(33/255.0) green:(180/255.0) blue:(227/255.0) alpha:1.0];\nUIColor *searchBackgroundColor = [UIColor colorWithRed:(139/255.0) green:(116/255.0) blue:(240/255.0) alpha:1.0];\nUIColor *favoritesBackgroundColor = [UIColor colorWithRed:(241/255.0) green:(118/255.0) blue:(121/255.0) alpha:1.0];\nUIColor *userBackgroundColor = [UIColor colorWithRed:(184/255.0) green:(204/255.0) blue:(207/255.0) alpha:1.0];\nUIColor *buyBackgroundColor = [UIColor colorWithRed:(169/255.0) green:(59/255.0) blue:(188/255.0) alpha:1.0];\nigcMenu.menuBackgroundColorsArray = [NSArray arrayWithObjects:homeBackgroundColor,favoritesBackgroundColor,searchBackgroundColor,userBackgroundColor, buyBackgroundColor,nil];\n\n/*Optional\nPass menu items icons\n**/\nigcMenu.menuImagesNameArray = [NSArray arrayWithObjects:@\"home.png\",@\"favourite.png\",@\"search.png\",@\"user.png\",@\"buy.png\",nil];\n\n/*Optional if you don't want to get notify for menu items selection\nconform delegate\n**/\nigcMenu.delegate = self;\n```\nArray of name,color and icons will appear in the same order.\n\n## Show/Hide menu\n\nOn menu button press you can show/hide menu items by calling methods below.\n\nTo show/hide **circular menu**\n```objc\n[igcMenu showCircularMenu];  //Show circular menu\n[igcMenu hideCircularMenu];  //Hide circular menu\n```\nTo show/hide **grid menu**\n```objc\n[igcMenu showGridMenu];     //Show grid menu\n[igcMenu hideGridMenu];     //Hide grid menu\n```\n\n## Delegate Implementation\nTo get notify about menu item selection you must implement this method.\n```objc\n- (void)igcMenuSelected:(NSString *)selectedMenuName atIndex:(NSInteger)index{\n//Perform any action on selection of menu item\n}\n```\nOn selecting any menu item it gives selected menu item name(if present otherwise nil) and index of menu item.Index of menu item start from 0.\n\n# Customisations\n```objc\n@property (nonatomic) NSInteger numberOfMenuItem;   //Number of menu items to show\n@property (nonatomic) CGFloat menuRadius;           //Radius for circular menu\n@property (weak,nonatomic) UIButton *menuButton;    //Menu button reference\n@property (weak,nonatomic) UIView *menuSuperView;   //Menu button super view reference\n@property (strong,nonatomic) NSArray *menuItemsNameArray;        //Menu items name array,it can be empty\n@property (strong,nonatomic) NSArray *menuBackgroundColorsArray; //Menu items background color,it can be empty, default color is white\n@property (strong,nonatomic) NSArray *menuImagesNameArray;       //Menu item icons array it can be empty\n@property (nonatomic) BOOL disableBackground;       //Disable background view, default is TRUE\n@property int maxColumn;                            //Maximium number of column,default is 3\n@property int menuHeight;                           //height = width ,default is 65\n@property UIColor *menuTitleColor;                  // Menu title color, default is white\n@property UIFont *menuTitleFont;                    // Menu title font, default is system regular 12\n/*\nSet menu background.It can be BlurEffectExtraLight,BlurEffectLight,BlurEffectDark,Dark or None.\nDefault is BlurEffectDark.\n*/\n@property IGCMenuBackgroundOptions backgroundType;\n\n```\n# Note\nThis library does not customise menu button(in example at bottom in dark blue background color) like making round,setting background color,changing icon like + and x.\nThis is left on you to customise.You can take refernce form example if any help needed.\nCode to make button circle is:\n```objc\nself.menuButton.clipsToBounds = YES;\nself.menuButton.layer.cornerRadius = self.menuButton.frame.size.height/2;\n```\n\n# Let us know!\n\nWe will be happy if you sent us links to your projects where you use our library. And do let us know if you have any questions or suggestion regarding anything.\n\n# License\nIGCMenu is available under the [MIT license](https://raw.githubusercontent.com/sunilsharma08/IGCMenu/develop/LICENSE.md).\n","funding_links":[],"categories":["UI","Objective-C"],"sub_categories":["Menu","Layout","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunilsharma08%2FIGCMenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunilsharma08%2FIGCMenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunilsharma08%2FIGCMenu/lists"}