An iOS framework for implementing sliding side menus with programmatic and gesture-based controls.
ViewDeck is an iOS framework that implements sliding side menus, similar to those found in many popular iOS apps. It provides a container view controller (`IIViewDeckController`) that manages the presentation of left and right side view controllers, handling both programmatic control and user swipe gestures. The framework solves the problem of building consistent, interactive side navigation without dictating the design of the menus themselves.
iOS developers building applications that require side navigation menus, such as those using a hamburger menu pattern. It is particularly useful for developers who want a robust, gesture-integrated solution that works with standard UIKit components.
Developers choose ViewDeck because it offers a mature, well-integrated solution for side menus that respects UIKit conventions. Its flexibility in allowing custom menu designs, combined with built-in gesture support and easy programmatic control, makes it a reliable choice over rolling a custom implementation.
An implementation of the sliding menu found in various iOS apps.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages standard UIKit components like UINavigationController and UITabBarController, making it easy to drop into existing iOS projects without major restructuring.
Allows opening and closing side menus via code, such as in response to button taps, and supports dynamic switching of view controllers at runtime.
Includes default swipe gestures for user interaction, enhancing the native feel and accessibility of side menus without additional setup.
Provides hooks like `animatorForTransitionWithContext:` for developers to tailor the appearance and transitions of side menus, as mentioned in the README.
Built exclusively for UIKit, making it incompatible with SwiftUI projects without complex bridging, which adds overhead for modern iOS development.
Leaves all menu design and content creation to the developer, requiring significant UI work compared to libraries with built-in, styled components.
Only supports left and right side menus, lacking options for top or bottom presentations that might be needed for certain app layouts or UX patterns.
The original creator has stepped down from maintenance, as noted in the README, which could lead to slower updates or reduced long-term support.