{"id":16720434,"url":"https://github.com/bismasaeed00/bsdropdown","last_synced_at":"2025-04-10T09:53:26.487Z","repository":{"id":112548502,"uuid":"85793676","full_name":"bismasaeed00/BSDropDown","owner":"bismasaeed00","description":"It's to show dropdown menu list.","archived":false,"fork":false,"pushed_at":"2017-10-09T07:14:56.000Z","size":91,"stargazers_count":15,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T08:47:54.862Z","etag":null,"topics":["dropdown","ios","menu","objective-c","selection"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bismasaeed00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2017-03-22T06:40:09.000Z","updated_at":"2022-09-12T00:45:01.000Z","dependencies_parsed_at":"2023-05-16T04:15:32.531Z","dependency_job_id":null,"html_url":"https://github.com/bismasaeed00/BSDropDown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bismasaeed00%2FBSDropDown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bismasaeed00%2FBSDropDown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bismasaeed00%2FBSDropDown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bismasaeed00%2FBSDropDown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bismasaeed00","download_url":"https://codeload.github.com/bismasaeed00/BSDropDown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198250,"owners_count":21063626,"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":["dropdown","ios","menu","objective-c","selection"],"created_at":"2024-10-12T22:07:06.818Z","updated_at":"2025-04-10T09:53:26.479Z","avatar_url":"https://github.com/bismasaeed00.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BSDropDown\nIt's show dropdown menu list.\n\n![alt tag](https://cloud.githubusercontent.com/assets/16186934/24190122/6cd1c28a-0f09-11e7-869b-9626182ea172.png)\n## How To Get Started\nDownload the project and drop BSDropDownClass into your project.\nDon't forget to import the header file.\n\n```\n#import \"BSDropDown.h\"\n```\nYou can create a dropdown with options to show ans add in your view. Here is the example\n```\nBSDropDown *ddView=[[BSDropDown alloc] initWithWidth:120 withHeightForEachRow:50 originPoint:btn.center withOptions:@[@\"option 1\",@\"option 2\",@\"option 3\",@\"option 4\",@\"option 5\"]];\nddView.delegate=self;\n//    ddView.dropDownBGColor=[UIColor yellowColor];\n//    ddView.dropDownTextColor=[UIColor greenColor];\n//    ddView.dropDownFont=[UIFont systemFontOfSize:13];\n[self.view addSubview:ddView];\n\n```\nYou can customize it's backgroud color, font and text color using the commented code above.\nThe colour of menu button will be the same as defined for the text colour of options in dropdown.\n\n### Delegate\nImplement the delegate method to know when user cliceked an option\n\n```\n#pragma mark - DropDown Delegate\n-(void)dropDownView:(UIView *)ddView AtIndex:(NSInteger)selectedIndex{\n    \n    NSLog(@\"selectedIndex: %li\",(long)selectedIndex);\n    _displayLabel.text=[NSString stringWithFormat:@\"options %li\",(long)selectedIndex+1];\n    \n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbismasaeed00%2Fbsdropdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbismasaeed00%2Fbsdropdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbismasaeed00%2Fbsdropdown/lists"}