Giter Club home page Giter Club logo

sidebartableview's Introduction

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.

sidebartableview's People

Contributors

admkopec avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.