ecd

ECDrawerLayout

DrawerLayout on iOS

Showing:

Popularity

Downloads/wk

0

GitHub Stars

57

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

0

License

MIT

Categories

Readme

ECDrawerLayout

[![CI Status](http://img.shields.io/travis/Eleven Chen/ECDrawerLayout.svg?style=flat)](https://travis-ci.org/Eleven Chen/ECDrawerLayout) Version License Platform

Overview

A very simple DrawerLayout implemented on the iOS.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod "ECDrawerLayout"

Configuring

self.drawerLayout = [[ECDrawerLayout alloc] initWithParentView:self.navigationController.view];
self.drawerLayout.contentView = self.drawerView;
self.drawerLayout.delegate = self;
[self.navigationController.view addSubview:self.drawerLayout];

You have to implement a content view yourself, and then add it to drawerLayout's contentView property. Please see the example.

if you want to open from right, set the openFormRight = YES

self.drawerLayout.openFromRight = YES;

I look forward to the effect that when DrawerLayout display, status bar hidden, like Uber did. :(

image

Author

Eleven Chen, skyhacker@126.com

License

ECDrawerLayout is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100