Latest 0.3.0
Homepage https://github.com/tskulbru/NBMaterialDialogIOS
License MIT
Platforms ios 8.1, requires ARC
Dependencies BFPaperButton
Authors

NBMaterialDialogIOS contains different dialogs and components used in Material Design by Google, on iOS

Language
Version
Carthage compatible
Build Status
License

Demo

To run the example project, clone the repo, and run pod install from the Example directory first.

Example Gif

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate NBMaterialDialogIOS into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'
use_frameworks!

pod 'NBMaterialDialogIOS', '~> 0.3.0'

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate NBMaterialDialogIOS into your Xcode project using Carthage, specify it in your Cartfile:

github "tskulbru/NBMaterialDialogIOS" ~> 0.3.0

Run carthage update to build the framework and drag the built NBMaterialDialogIOS.framework into your Xcode project.

Swift version support

For swift 3 support, use version 0.3.0 and up. Swift 2 support is no longer maintained, but can still be used. Latest Swift2 supported version is 0.2.3

Usage

To set up your own color scheme, set your colors in NBConfig

MaterialDialog supports any kind of UIView as its content, so if you want you can provide a scrollview if need be.

More information on how you should use the different components, see the example project.

Author

Torstein Skulbru

License

NBMaterialDialogIOS is available under the MIT license.

See the LICENSE file for more info.

Latest podspec

{
    "name": "NBMaterialDialogIOS",
    "version": "0.3.0",
    "summary": "NBMaterialDialogIOS contains different dialogs and components used in Material Design by Google, on iOS.",
    "homepage": "https://github.com/tskulbru/NBMaterialDialogIOS",
    "license": "MIT",
    "authors": {
        "Torstein Skulbru": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tskulbru/NBMaterialDialogIOS.git",
        "tag": "0.3.0"
    },
    "social_media_url": "https://twitter.com/tskulbru",
    "platforms": {
        "ios": "8.1"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*.swift",
    "resource_bundles": {
        "NBMaterialDialogIOS": [
            "Pod/Assets/*.ttf"
        ]
    },
    "dependencies": {
        "BFPaperButton": [
            "~> 2.1.1"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This