Latest 0.1.0
Homepage https://github.com/matthewcheok/MCBlurredModalController
License MIT
Platforms ios 6.0, requires ARC
Authors

MCBlurredModalController License MIT

Badge w/ Version
Badge w/ Platform

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

MCBlurredModalController is under the MIT license.

Latest podspec

{
    "name": "MCBlurredModalController",
    "version": "0.1.0",
    "platforms": {
        "ios": "6.0"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "A sleek way to display your view controller modally.",
    "homepage": "https://github.com/matthewcheok/MCBlurredModalController",
    "authors": {
        "Matthew Cheok": "[email protected]"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/matthewcheok/MCBlurredModalController.git",
        "branch": "master",
        "tag": "0.1.0"
    },
    "source_files": "MCBlurredModalController/*.{h,m}",
    "public_header_files": "MCBlurredModalController/*.h"
}

Pin It on Pinterest

Share This