Latest 0.3.2
Homepage https://github.com/cyrus86/MPModalView
License MIT
Platforms ios 11.0
Frameworks UIKit
Authors

Version
License
Platform

Example

MPModalView

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

Requirements

Installation

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

pod 'MPModalView'

Usage

let modal = MPModalViewController(actionButtons: [ActionButton(type: .cancel),
                                                  ActionButton(type: .ok) { print("some callback") }],
                                  contentView: .text(title: "Modal", body: "with OK & Cancel button"))
modal.presentOnTop()

Author

Martin Pfundmair, [email protected]

License

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

Latest podspec

{
    "name": "MPModalView",
    "version": "0.3.2",
    "summary": "A custom modal view with multiple buttons.",
    "homepage": "https://github.com/cyrus86/MPModalView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Martin Pfundmair": "[email protected]"
    },
    "source": {
        "git": "https://github.com/cyrus86/MPModalView.git",
        "tag": "0.3.2"
    },
    "platforms": {
        "ios": "11.0"
    },
    "source_files": "MPModalView/Classes/**/*",
    "swift_version": "4.2",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This