TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2016 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Warif Akhand Rishi.
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
}];
Embedded frameworks require a minimum deployment target of iOS 8
Find the WARDoorView folder inside Pod/Classes
Warif Akhand Rishi, [email protected]
WARDoorView is available under the MIT license. See the LICENSE file for more info.