Skip to content

📱iPadOS 14 Sidebar implemented as UITableView with support for iOS 11.0+

License

Notifications You must be signed in to change notification settings

admkopec/SidebarTableView

Repository files navigation

SidebarTableView

Platforms GitHub Swift Package Manager swift-version

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.

Screenshot 2021-06-28 at 20 53 26

💻 Requirements

This framework works on iPhones and iPads with the minimum system requirements:

  • 📱 iOS 11.0+

⚙️ Supports:

  • Dark mode
  • SF Symbols
  • iOS 11.0+
  • Row Highlighting
  • Multiple Table Sections
  • Compact View Controller fallback on iOS 11 through iOS 13

🏗 TO-DO:

  • 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

📖 Usage

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.

⚖️ License

SidebarTableView is distributed under the MIT license.

About

📱iPadOS 14 Sidebar implemented as UITableView with support for iOS 11.0+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages