[![CI Status](http://img.shields.io/travis/Warif Akhand Rishi/WARDoorView.svg?style=flat)](https://travis-ci.org/Warif Akhand Rishi/WARDoorView)
- Written in Swift
- Work on both Swift and Objective-C projects
- Orientation support
To run the example project, clone the repo, and run pod install
from the Example directory first.
import WARDoorView
public func doorOpen(angle: Double = default, duration: NSTimeInterval = default, delay: NSTimeInterval = default, completion: (() -> Void) = default)
public func doorClose(duration: NSTimeInterval = default, delay: NSTimeInterval = default, completion: (() -> Void) = default)
// Example
warDoorViewObj.doorOpen(delay: 10)
//or
warDoorViewObj.doorOpen()
@import WARDoorView;
// Example
[warDoorViewObj doorOpen:90 duration:2 delay:1 completion:^{
//Door did open
}];
[warDoorViewObj doorClose:2 delay:1 completion:^{
//Door did close
}];
- iOS 8.0+
- Xcode 7.1+
Embedded frameworks require a minimum deployment target of iOS 8
WARDoorView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "WARDoorView"
Find the WARDoorView folder inside Pod/Classes
Warif Akhand Rishi, rishi420@gmail.com
WARDoorView is available under the MIT license. See the LICENSE file for more info.