Latest 0.3.4.0
Homepage https://github.com/ali59a/DraggableDynamicModal
License MIT
Platforms ios 9.0
Dependencies ZFDragableModalTransition
Frameworks UIKit
Authors

CI Status
Version
License
Platform

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.

Latest podspec

{
    "name": "DraggableDynamicModal",
    "version": "0.3.4.0",
    "summary": "This library allows to facilitate the display of a view controller as modal with great animation and user interaction.n                         You can easily change the child in this modal as well as the size.",
    "description": "To create a modal manager you should create a `ModalViewControllerManager` :n```nvar modalManager: ModalViewControllerManager!nself.modalManager = ModalViewControllerManager(parentViewController: {The parent who oresenting the modal controller}})n```nnThen, you can present the modal using the method : `presentModal`. This method takes only on parameters, the view controller to display.nnThe view controller to be displayed should be conform to `ModalParentViewControllerProtocol` and implement the method `shouldChangeContainerHeight`",
    "homepage": "https://github.com/ali59a/DraggableDynamicModal",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "ali59a": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ali59a/DraggableDynamicModal.git",
        "tag": "0.3.4.0"
    },
    "social_media_url": "https://twitter.com/ali59a",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "DraggableDynamicModal/Classes/**/*.{Swift}",
    "resource_bundles": {
        "DraggableDynamicModal": [
            "DraggableDynamicModal/Classes/*.{storyboard}"
        ]
    },
    "frameworks": "UIKit",
    "dependencies": {
        "ZFDragableModalTransition": []
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This