Skip to content

Commit 7447ce1

Browse files
authored
Update README.md
1 parent 11d0871 commit 7447ce1

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,21 @@ Present any view controller easily in a drawer (iOS Maps style).
88

99
It is implemented as a UIViewController extension, which means **no subclassing** and **no invasive view hierarchy setup**.
1010
It is designed to be as easy to use as possible:
11-
1. You can present any existing or new controller. Make it conform to the `DrawerConfiguration` protocol
11+
1. You can present any controller. Make it conform to the `DrawerConfiguration` protocol
1212
1. Optionally setup a `DrawerPositionDelegate` which is notified about drawer's position
13-
1. Call `displayInDrawer(controller, drawerPositionDelegate: delegate)`.
13+
1. Call `displayInDrawer(controller, drawerPositionDelegate: delegate)` on your presenting controller.
14+
15+
![Demo](http://www.cocoaminers.com/files/DisplayInDrawer.gif)
1416

1517
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.
18+
What does the lib add to visually decorate your content controller:
19+
* pull handle image
20+
* rounded edges
21+
* top border and top shadow
22+
* blur behind your controller's content
23+
* dim view, which is continually dimmmed when you drag above middle
24+
* bottom padding area so that you can bounce (overdrag) your controller at the top and the bottom area still looks nice
25+
1626

1727
## Example
1828

0 commit comments

Comments
 (0)