A library to imitate the drawer in Maps for iOS 10/11. The master branch follows the latest currently released version of Swift. If you need an older version of Swift, you can specify it's version (e.g. 1.0.x) in your Podfile or use the code on the branch for that version. Older branches are unsupported. Pulley 2.9.0 has new properties to support a new display mode. The base functionality should work without any significant changes. The biggest change is the new display mode of .compact to replicate Apple Maps Behavior on the iPhone SE size class devices. Pulley is an easy to use drawer library meant to imitate the drawer in iOS 10/11's Maps app. It exposes a simple API that allows you to use any UIViewController subclass as the drawer content or the primary content.
Features
- Pulley supports loading embedded view controllers from Interface Builder
- Pulley supports loading view controllers programmatically
- Drawer Content views are made 20pt too long in order to account for the bounce animation
- Pulley has support for safe areas and the iPhone X
- 3 protocols exist for you to use
- Change view controllers after creation