An iOS category view library in Objective-C for segmented titles, paging and pager-style tab switching with customizable indicators and cells.
shabake/GHDropMenuDemo
An iOS filter menu component with dropdown, slide-in and tag-based screening, modeled after e-commerce apps.
- Stars
- 657
- Forks
- 88
- Open issues
- 16
- Last commit
- 3 months ago
What is it?
GHDropMenu is an Objective-C iOS component for building product filter interfaces like those in e-commerce and food-delivery apps. It provides a top dropdown menu with a title bar, a full-screen slide-in filter panel, and a floating filter list in a table view. Integration means copying the GHDropMenu folder into an Xcode project and calling the menu from a view controller, since the menu is a standard UIView.
The repository includes a runnable demo app with separate Objective-C and Swift example screens, covering normal, complex, slide-in, sticky and Meituan-style filter layouts. Each example is mapped to its source files so developers can copy the relevant pattern. A Flutter version is maintained separately. The project targets iOS 13.0 and later.
Key features
- 01Dropdown filter menu with a title bar at the top of a page.
- 02Full-screen slide-in filter panel for tag-based selection.
- 03Floating filter list built on UITableView.
- 04Objective-C and Swift usage examples in a runnable demo app.
- 05Drop-in integration by copying a single folder into an Xcode project.
Use cases
- Adding product filters to an iOS shopping or e-commerce app.
- Building a food-delivery style category and sort menu.
- Implementing a slide-out filter panel for a list screen.
Quick start
- 1
Open GHDropMenuDemo.xcodeproj in Xcode and run the GHDropMenuDemo target on a simulator
- 2
Drag the GHDropMenu folder into your Xcode project with Copy items checked
- 3
Import GHDropMenu.h in the page that needs the menu (Swift uses the Bridging Header)
Things to know
- Targets iOS only, with a minimum of iOS 13.0.
- Integration is by copying source files into your project, not via a package manager.
Topics
FAQ
- What is GHDropMenuDemo?
- An iOS filter menu component with dropdown, slide-in and tag-based screening, modeled after e-commerce apps. GHDropMenu is an Objective-C iOS component for building product filter interfaces like those in e-commerce and food-delivery apps. It provides a top dropdown menu with a title bar, a full-screen slide-in filter panel, and a floating filter list in a table view. Integration means copying the GHDropMenu folder into an Xcode project and calling the menu from a view controller, since the menu is a standard UIView.
- Is GHDropMenuDemo free to use? What license does it have?
- GHDropMenuDemo is open source under the MIT license. Check the license terms before using it in commercial products.
- Is GHDropMenuDemo still maintained?
- Updated within 6 months. The last commit to GHDropMenuDemo was on Aug 20, 2026.
- What can I use GHDropMenuDemo for?
- Adding product filters to an iOS shopping or e-commerce app. Building a food-delivery style category and sort menu. Implementing a slide-out filter panel for a list screen.
- How do I install GHDropMenuDemo?
- Open GHDropMenuDemo.xcodeproj in Xcode and run the GHDropMenuDemo target on a simulator Drag the GHDropMenu folder into your Xcode project with Copy items checked Import GHDropMenu.h in the page that needs the menu (Swift uses the Bridging Header)
- Where can I get GHDropMenuDemo?
- The source code and installation instructions are on GitHub: https://github.com/shabake/GHDropMenuDemo
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A drop-in iOS library that stops the keyboard from covering UITextField and UITextView, with no code required.
An iOS/tvOS framework that renders UIKit-style interfaces asynchronously on background threads to keep scrolling smooth.
An iOS view controller for cropping UIImage objects, with rotation, circular crop, and aspect-ratio locking, modeled on the Photos app editor.
A set of instruction files that teach AI coding agents like Claude Code and Codex to write better UIKit code for iOS 18 and later.
A Swift package that fills gaps in SwiftUI with extra views, extensions and wrappers for UIKit and AppKit functionality.