Latest 0.1.2
Homepage https://github.com/Ptitematil2/MHBlurTutorials
License MIT
Platforms ios 7.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Mathilde Henriot/MHBlurTutorials.svg?style=flat)](https://travis-ci.org/Mathilde Henriot/MHBlurTutorials)
Version
License
Platform

MHBlurTutorials allows you to highlight some elements and display explanation text

!Screenshot

Version

0.1.2

Installation

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

pod "MHBlurTutorials"

Usage

Import the library where you need it.

#import <MHBlurTutorialsViewController.h>

Then you can create your tutorials like this :

MHBlurTutorialsViewController *homeTutorialController = [[MHBlurTutorialsViewController alloc] init];
homeTutorialController.modalPresentationStyle = UIModalPresentationOverFullScreen;
homeTutorialController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;

[self presentViewController:homeTutorialController animated:YES completion:^{
    [homeTutorialController setAnimations:@[
            @{
                @"text":@"Explanation Text",
                @"textCenter":[NSValue valueWithCGPoint:CGPointMake(CGRectGetMidX(self.view.frame), 300)],
                @"holeRadius":@(60),
                @"holeCenter":[NSValue valueWithCGPoint:CGPointMake(120, 150)]
            },

            ...
    ]

    [homeTutorialController setBackgroundColor:[UIColor colorWithWhite:0 alpha:0.7]];
    [homeTutorialController setExplanationLabelFont:[UIFont fontWithName:@"Source Sans Pro" size:15]];
    [homeTutorialController displayTutorial];
];

Author

Mathilde Henriot, [email protected]

License

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

Latest podspec

{
    "name": "MHBlurTutorials",
    "version": "0.1.2",
    "summary": "MHBlurTutorials Library",
    "description": "                        MHBlurTutorials allows you to highlight some elements and display explanation textn",
    "homepage": "https://github.com/Ptitematil2/MHBlurTutorials",
    "screenshots": "http://i.imgur.com/ZClWBXg.png",
    "license": "MIT",
    "authors": {
        "Mathilde Henriot": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Ptitematil2/MHBlurTutorials.git",
        "tag": "0.1.2"
    },
    "social_media_url": "https://twitter.com/Ptitematil2",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "MHBlurTutorials": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This