-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
-
Open the Material workspace in the Examples directory.
-
Compile the Material.framework project by choosing the scheme in the Xcode navigation bar. The device needs to be on Generic Device, or an actual iOS device, not simulator.
-
Click on the project you want to run in the examples directory.
-
Open the 'General' page in the project inspector.
-
Go to Embedded Binaries, and add the Material.framework binary.
-
Choose the project scheme in the top navigation bar that you want to run.
-
Press run.
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapodsCocoaPods 1.0.0+ is required to build Material 1.0.0+.
To integrate Material into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'Material', '~> 1.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 Material into your Xcode project using Carthage, specify it in your Cartfile:
github "CosmicMind/Material"Run carthage update to build the framework and drag the built Material.framework into your Xcode project.