CocoaPods trunk is moving to be read-only. Read more on the blog, there are 15 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | BSD 3.0 |
ReleasedLast Release | May 2015 |
Maintained by Steven Mattera.
Convenient drawer controller that mimics the drawer for Google's Material Design.
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries installation in your projects. To install this library using CocoaPods simply add the following line to your Podfile:
pod 'LDSlideOverViewController'
Add a view controller to your storyboard that has the class of LDSlideOverViewController. Also drag two other View Controllers of your choice and give them storyboard IDs. One will be for your left drawer and the other for your main content. You can then define the following runtime attributes on to your LDSlideOverViewController so it will know the view controllers to use.
Name | Type | Description |
---|---|---|
mainIdentifier | String | The storyboard identifier for the main drawer. |
leftIdentifier | String | The storyboard identifier for the left drawer. |
slideGestureEnabled | Boolean | Whether or not the slide out gesture should work. |
Create your drawer controller using LDSlideOverViewController with initWithMainViewController:withLeftViewController:.
LDSlideOverViewController is published under BSD 2-Clause License
Copyright (c) 2014 Lepidus Development, LLC. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
Neither the name of the Lepidus Development, LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.