NBMaterialDialogIOS contains different dialogs and components used in Material Design by Google, on iOS
To run the example project, clone the repo, and run pod install from the Example directory first.
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapodsTo 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 installCarthage 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 carthageTo 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.
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
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.
Torstein Skulbru
NBMaterialDialogIOS is available under the MIT license.
See the LICENSE file for more info.
