CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

WARDoorView 2.1.0

WARDoorView 2.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Warif Akhand Rishi.




  • By
  • Warif Akhand Rishi

WARDoorView

Features

  • [x] Written in Swift
  • [x] Work on both Swift and Objective-C projects
  • [x] Orientation support

Usage

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

Swift

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()

Objective-C

@import WARDoorView;

// Example
    [warDoorViewObj doorOpen:90 duration:2 delay:1 completion:^{
        //Door did open
    }];

    [warDoorViewObj doorClose:2 delay:1 completion:^{
        //Door did close
    }];

Requirements

  • iOS 8.0+
  • Xcode 7.1+

Installation

Embedded frameworks require a minimum deployment target of iOS 8

Manually

Find the WARDoorView folder inside Pod/Classes

Author

Warif Akhand Rishi, [email protected]

License

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