Home

Awesome

MIBlurPopup

MIBlurPopup lets you create amazing popups with a blurred background

Platform Swift 4 Cocoapods Compatible

<img src="ReadmeResources/demo.gif" height="500"/>

Setup

  1. Add pod 'MIBlurPopup' to your Podfile or copy the "MIBlurPopup.swift" into your project
  2. Make sure the view controller you want to present conforms the protocol MIBlurPopupDelegate
  3. Present the view controller with: MIBlurPopup.show(popupViewController, on: <some view controller>) or just set MIBlurPopupSegue as your custom segue's class like that <br/><img src="ReadmeResources/customSegue.png" width="400"/><br/> NB: If you have added MIBlurPopup through pod, you also have to set the Module as "MIBlurPopup".

Customization

You can customize the popup behavior with the MIBlurPopupDelegate protocol

TODO

Demo

In this repository you can also find a demo.

Info

If you like this git you can follow me here or on twitter :) @MarioIannotta

Cheers from Italy!