DraggableDynamicModal 0.4.0.6

DraggableDynamicModal 0.4.0.6

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Nov 2017
SwiftSwift Version 3.0

Maintained by Ali ABBAS.






This library allows to facilitate the display of a view controller as modal with great animation and user interaction.
You can easily change the child in this modal as well as the size.

Example

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

To use the modal view, start by importing the module :

import DraggableDynamicModal

To create a modal manager you should create a ModalViewControllerManager :

var modalManager: ModalViewControllerManager!
self.modalManager = ModalViewControllerManager(parentViewController: {The parent who presenting the modal controller}})

Then, you can present the modal using the method : presentModal. This method takes only on parameter, the view controller to display.

The view controller to be displayed should be conform to ModalParentViewControllerProtocol and implement the method shouldChangeContainerHeight

Requirements

Installation

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

pod "DraggableDynamicModal"

Author

ali59a, [email protected]

License

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