CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| 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.
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 DraggableDynamicModalTo 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
DraggableDynamicModal is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "DraggableDynamicModal"ali59a, [email protected]
DraggableDynamicModal is available under the MIT license. See the LICENSE file for more info.