{"id":15037827,"url":"https://github.com/jonyfang/animateddropdownmenu","last_synced_at":"2025-10-04T03:31:47.316Z","repository":{"id":56902015,"uuid":"82897941","full_name":"JonyFang/AnimatedDropdownMenu","owner":"JonyFang","description":"A clean interface dropdown menu, appears underneath navigation bar to display a list of related items when you click on the navigation title.","archived":true,"fork":false,"pushed_at":"2017-03-06T07:40:20.000Z","size":147,"stargazers_count":69,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-22T14:24:00.667Z","etag":null,"topics":["animated","dropdownmenu","navigation","swift-3"],"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/JonyFang.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":"2017-02-23T07:28:34.000Z","updated_at":"2023-10-06T09:22:51.000Z","dependencies_parsed_at":"2022-08-20T18:50:35.066Z","dependency_job_id":null,"html_url":"https://github.com/JonyFang/AnimatedDropdownMenu","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/JonyFang/AnimatedDropdownMenu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonyFang%2FAnimatedDropdownMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonyFang%2FAnimatedDropdownMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonyFang%2FAnimatedDropdownMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonyFang%2FAnimatedDropdownMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonyFang","download_url":"https://codeload.github.com/JonyFang/AnimatedDropdownMenu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonyFang%2FAnimatedDropdownMenu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278259829,"owners_count":25957547,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["animated","dropdownmenu","navigation","swift-3"],"created_at":"2024-09-24T20:35:55.981Z","updated_at":"2025-10-04T03:31:47.014Z","avatar_url":"https://github.com/JonyFang.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://dn-ynvsu4wa.qbox.me/16f7940346e6cfc5ddf9.png\" alt=\"AnimatedDropdownMenu\" title=\"AnimatedDropdownMenu\" width=\"1000\"\u003e\n\u003c/p\u003e\n\n**AnimatedDropdownMenu** is a clean interface dropdown menu, appears underneath navigation bar to display a list of related items when you click on the navigation title.\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://cocoapods.org/pods/AnimatedDropdownMenu\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/p/AnimatedDropdownMenu.svg?style=flat\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://cocoapods.org/pods/AnimatedDropdownMenu\"\u003e\u003cimg src=\"https://img.shields.io/badge/iOS-8.0%2B-blue.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://cocoapods.org/pods/AnimatedDropdownMenu\"\u003e\u003cimg src=\"https://img.shields.io/badge/Swift-3.0%2B-orange.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://cocoapods.org/pods/AnimatedDropdownMenu\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/v/AnimatedDropdownMenu.svg?style=flat\"\u003e\u003c/a\u003e\n    \u003ca href=\"http://mit-license.org\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/l/AnimatedDropdownMenu.svg?style=flat\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n    \u003ctable\u003e\n    \u003ctr\u003e\n    \u003cth\u003eType 01\u003c/th\u003e\n    \u003cth\u003eType 02\u003c/th\u003e\n    \u003cth\u003eType 03\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/85482a9232c248ab5aca.PNG\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/8767106baa384ee28bc3.PNG\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/bc46b32aacf22b459e63.PNG\"/\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003cth\u003eType 04\u003c/th\u003e\n    \u003cth\u003eType 05\u003c/th\u003e\n    \u003cth\u003eType 06\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/4da2351118cda94556c3.PNG\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/fd8abea53051a404745b.PNG\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/951d3cf13599fd5cc307.PNG\"/\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003cth\u003eType 07\u003c/th\u003e\n    \u003cth\u003eType 08\u003c/th\u003e\n    \u003cth\u003eType 09\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/772b9dfd1a1e554073b6.PNG\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/48835d39aae89b6c3212.PNG\"/\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"https://dn-ynvsu4wa.qbox.me/76fa42336a0d3f7175d7.PNG\"/\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003c/table\u003e\n\u003c/p\u003e\n\n## Requirements\n\n- Xcode 8.0+\n- iOS 8.0+\n- Swift 3.0\n\n## Example\n\nTo run the example project, clone the repo, and start `Examples` in Xcode.\n\n```ruby\n$ git clone https://github.com/JonyFang/AnimatedDropdownMenu\n$ cd AnimatedDropdownMenu/Examples\n$ open Examples.xcworkspace\n```\n\n## Installation\n\n### CocoaPods\n\nTo integrate AnimatedDropdownMenu into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\npod 'AnimatedDropdownMenu'\n```\n\n## Usage\n\n### Get Started\n\nImport the library where you want to use it.\n\n```swift\nimport AnimatedDropdownMenu\n\nclass ExampleViewController: UIViewController {\n    // MARK: - Properties\n    fileprivate var selectedStageIndex: Int = 0\n    fileprivate let dropdownItems: [AnimatedDropdownMenu.Item] = [\n        AnimatedDropdownMenu.Item.init(\"EXPLORE\", nil, nil),\n        AnimatedDropdownMenu.Item.init(\"POPULAR\", nil, nil),\n        AnimatedDropdownMenu.Item.init(\"RECENT\", nil, nil)\n    ]\n\n    // MARK: Life Cycle\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        let dropdownMenu = AnimatedDropdownMenu(navigationController: navigationController, containerView: view, selectedIndex: selectedStageIndex, items: dropdownItems)\n        dropdownMenu.didSelectItemAtIndexHandler = {\n            [weak self] selectedIndex in\n            guard let strongSelf = self else {\n                return\n            }\n            strongSelf.selectedStageIndex = selectedIndex\n            //Configure Selected Action\n        }\n\n        navigationItem.titleView = dropdownMenu\n    }\n}\n```\n\n### Customization\n\nOnce you have setup the dropdown menu, you can custom the interface of menu. You can override these properties for your favor:\n\n- `menuTitleColor`: **The font of the navigation bar title.** Default is `UIFont.systemFont(ofSize: 16.0)`\n- `menuArrowTintColor`: **The tint color of the arrow.** Default is `.darkGray`\n- `cellBackgroundColor`: **The color of the cell background.** Default is `RGBA(216, 85, 96, 1)`\n- `cellSelectedColor`: **The color of the cell when the cell is selected.** Default is `.clear`\n- `cellSeparatorColor`: **The color of the cell separator.** Default is `RGBA(255, 255, 255, 0.3)`\n- `cellTextColor`: **The color of the text inside cell.** Default is `RGBA(255, 255, 255, 0.3)`\n- `cellTextSelectedColor`: **The color of the text inside cell when the cell is selected.** Default is `.white`\n- `cellTextAlignment`: **The alignment of the text inside cell.** Default is `.center`\n\n## Author\n\n- [Weibo: @JonyFang](http://weibo.com/3034766044/profile?topnav=1\u0026wvr=6)\n- [Twitter: @JonyFang](https://twitter.com/jony_chunfang)\n- [Email: jony.chunfang@gmail.com](mailto:jony.chunfang@gmail.com)\n\n## Contributing\n\nPlease open a [new Issue here](https://github.com/JonyFang/AnimatedDropdownMenu/issues/new) if you run into a problem specific to **AnimatedDropdownMenu**, have a feature request, or want to share a comment.\n\n## License\n\n**AnimatedDropdownMenu** 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%2Fjonyfang%2Fanimateddropdownmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonyfang%2Fanimateddropdownmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonyfang%2Fanimateddropdownmenu/lists"}