MPModalView 0.3.2

MPModalView 0.3.2

Maintained by Martin Pfundmair.



  • By
  • Martin Pfundmair

MPModalView

Version License Platform

Example

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.