{"id":32318680,"url":"https://github.com/iosdevkamal/ktoptionmenu","last_synced_at":"2026-02-20T22:03:11.699Z","repository":{"id":56917645,"uuid":"426734402","full_name":"iOSDevKamal/KTOptionMenu","owner":"iOSDevKamal","description":"Popover options menu - Material Design style","archived":false,"fork":false,"pushed_at":"2023-02-22T23:37:08.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T11:41:22.825Z","etag":null,"topics":["cocoapod","ios","library","materialdesign","menu","optionmenu","pod","swift","uicomponent"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/iOSDevKamal.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":"2021-11-10T18:32:14.000Z","updated_at":"2022-07-21T11:57:05.000Z","dependencies_parsed_at":"2022-08-21T04:50:48.821Z","dependency_job_id":null,"html_url":"https://github.com/iOSDevKamal/KTOptionMenu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/iOSDevKamal/KTOptionMenu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOSDevKamal%2FKTOptionMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOSDevKamal%2FKTOptionMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOSDevKamal%2FKTOptionMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOSDevKamal%2FKTOptionMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iOSDevKamal","download_url":"https://codeload.github.com/iOSDevKamal/KTOptionMenu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOSDevKamal%2FKTOptionMenu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29666460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T19:49:36.704Z","status":"ssl_error","status_checked_at":"2026-02-20T19:44:05.372Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cocoapod","ios","library","materialdesign","menu","optionmenu","pod","swift","uicomponent"],"created_at":"2025-10-23T11:32:28.616Z","updated_at":"2026-02-20T22:03:11.694Z","avatar_url":"https://github.com/iOSDevKamal.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KTOptionMenu\n\n[![Version](https://img.shields.io/cocoapods/v/KTOptionMenu.svg?style=flat)](https://cocoapods.org/pods/KTOptionMenu)\n[![License](https://img.shields.io/cocoapods/l/OptionMenu.svg?style=flat)](/LICENSE)\n[![Platform](https://img.shields.io/cocoapods/p/KTOptionMenu.svg?style=flat)](https://cocoapods.org/pods/KTOptionMenu)\n\n## Description\n\nKTOptionMenu is a swift library based on the various options menu in material design in Android that allows you to easily create a user-friendly and attractive option menu. KTOptionMenu is a popover style menu that can be employed easily in any UIViewController with every added action corresponding to a button. All actions are easily handled with a completion handler.\n\n## Preview\n\n\u003cimg src=\"https://user-images.githubusercontent.com/93727769/141182672-a58426a9-b8f9-4dcf-a13b-14678d971d96.gif\" alt=\"Preview\" width=300\u003e\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Installation\n\nKTOptionMenu is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'KTOptionMenu'\n```\n## Usage\n\n```swift\n\nimport UIKit\nimport KTOptionMenu\n\nclass ViewController: UIViewController {\n    \n    @IBOutlet weak var clickMeBtn: UIButton!\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n    }\n    \n    @IBAction func clickMeAction(_ sender: UIButton) {\n                \n        KTOptionMenu(sender: sender, options: [\"Edit\", \"View\", \"Rename\", \"Delete\", \"Favorite\", \"Unfavorite\"]) { index in\n            //Do actions on click\n            if index == 0 {\n                //Edit\n            }\n            else if index == 1 {\n                //View\n            }\n            else if index == 2 {\n                //Rename\n            }\n            else if index == 3 {\n                //Delete\n            }\n            else if index == 4 {\n                //Favorite\n            }\n            else {\n                //Unfavorite\n            }\n            \n        }\n    }\n}\n\n```\n\n\n## Author\n\niOSDevKamal\n\n## License\n\nKTOptionMenu is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiosdevkamal%2Fktoptionmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiosdevkamal%2Fktoptionmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiosdevkamal%2Fktoptionmenu/lists"}