GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - inloop/UIViewController-DisplayInDrawer: Present any view controller easily in a drawer (iOS Maps style)

BranchesTags
Open more actions menu

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
Example
Example
 
 
UIViewController-DisplayInDrawer
UIViewController-DisplayInDrawer
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
UIViewController-DisplayInDrawer.podspec
UIViewController-DisplayInDrawer.podspec
 
 
_Pods.xcodeproj
_Pods.xcodeproj
 
 

Repository files navigation

UIViewController-DisplayInDrawer

Present any view controller easily in a drawer (iOS Maps style).

CI Status Version License Platform

It is implemented as a UIViewController extension, which means no subclassing and no invasive view hierarchy setup. It is designed to be as easy to use as possible:

  1. You can present any controller. Make it conform to the DrawerConfiguration protocol
  2. Optionally setup a DrawerPositionDelegate which is notified about drawer's position
  3. Call displayInDrawer(controller, drawerPositionDelegate: delegate) on your presenting controller.

Demo

Amongst other things we add blur behind your controller. If you want blur effect to be visible you need give transparent background to your viewController's view. What does the lib add to visually decorate your content controller:

  • pull handle image
  • rounded edges
  • top border and top shadow
  • blur behind your controller's content
  • dim view, which is continually dimmmed when you drag above middle
  • bottom padding area so that you can bounce (overdrag) your controller at the top and the bottom area still looks nice

Example

To see it in action run pod try UIViewController-DisplayInDrawer or clone the lib manually

Requirements

iOS 10+

Installation

UIViewController-DisplayInDrawer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'UIViewController-DisplayInDrawer'

Author

vilemkurz, [email protected]

License

UIViewController-DisplayInDrawer is available under the MIT license. See the LICENSE file for more info.

About

Present any view controller easily in a drawer (iOS Maps style)

Resources

Readme
MIT license
Activity
Custom properties

Stars

4 stars

Watchers

7 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.