MCBlurredModalController 0.1.0

MCBlurredModalController 0.1.0

TestsTested
LangLanguage MUMPSMUMPS
License MIT
ReleasedLast Release Dec 2014

Maintained by Matthew Cheok.



  • By
  • Matthew Cheok

Realm+JSON License MIT

A sleek way to display your view controller modally.

Screenshot

Screenshot

Installation

Add the following to your CocoaPods Podfile

pod 'MCBlurredModalController', '~> 0.1'

or clone as a git submodule,

or just copy files in the MCBlurredModalController folder into your project.

Using MCBlurredModalController

Simply create the modal controller:

MCBlurredModalController *modalController = [[MCBlurredModalController alloc] initWithRootViewController:controller];
modalController.style = MCBlurredStyleLight;
[modalController presentInViewController:self];

You can configure the style with MCBlurredStyleDark, MCBlurredStyleLight or MCBlurredStyleExtraLight.

Dismiss using the -dismiss method on the modal controller:

[self.blurredModalController dismiss];

On the presented controller, blurredModalController is available as a reference to the modal controller.

License

Realm+JSON is under the MIT license.