This framework is an UITableView implementation of the iPadOS 14 Sidebar. It works on older iOS versions and provides easy fallbacks for the compact view controller on iOS versions before iOS 14, which added the compact view controller option to the UISplitViewController. This framework can also automatically adjust the style of the sidebar to match iOS 14 and iOS 15 look.
This framework works on iPhones and iPads with the minimum system requirements:
- 📱 iOS 11.0+
- Dark mode
- SF Symbols
- iOS 11.0+
- Row Highlighting
- Multiple Table Sections
- Compact View Controller fallback on iOS 11 through iOS 13
- Fix Navigation Bar's background color on iOS 13 before segue selection
- Fix inner cell layout margins after rotation on iOS 11-12
- Fix navigation bar background and distance to first cell on iOS 11-12
- Fix cell image highlight tint when selected on minimal styling
To use this framework you can either setup the master detail project in Xcode using the storyboard or by creating each view manually. Remember however to inherit not from UITableViewController but from SidebarTableViewController which is provided by this framework. If you wish to use the compact view controller fallback on iOS versions prior to iOS 14, you should also replace the default UISplitViewController with our custom AdaptableSplitViewController in the storyboard.
SidebarTableView is distributed under the MIT license.