Skip to content

Commit

Permalink
added layout constraints and added installation instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dahan committed May 24, 2019
1 parent 091e108 commit fe82bd6
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 3.1.3

* Added installation instructions to README.

- [pr-1236](https://github.com/CosmicMind/Material/pull/1236): Added Layout relations.
- [issue-1220](https://github.com/CosmicMind/Material/issues/1220): Support all relations for Layout constraints.

## 3.1.2

- [pr-1233](https://github.com/CosmicMind/Material/pull/1233): Fixed Layout breaks - subview ordering.
Expand Down
2 changes: 1 addition & 1 deletion Material.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Material'
s.version = '3.1.2'
s.version = '3.1.3'
s.swift_version = '5.0'
s.license = 'BSD-3-Clause'
s.summary = 'A UI/UX framework for creating beautiful applications.'
Expand Down
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,47 @@ Take a look at [Sample Projects](https://github.com/CosmicMind/Samples) to get y
> **Embedded frameworks require a minimum deployment target of iOS 8+.**
> - [Download Material](https://github.com/CosmicMind/Material/archive/master.zip)
Read [Material - It's time to download](https://www.cosmicmind.com/danieldahan/lesson/6) to learn how to install Material & Motion using [GitHub](http://github.com), [CocoaPods](http://cocoapods.org), and [Carthage](https://github.com/Carthage/Carthage).
## CocoaPods

[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:

```bash
$ gem install cocoapods
```

To integrate Material's core features into your Xcode project using CocoaPods, specify it in your `Podfile`:

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

pod 'Material', '~> 3.1.0'
```

Then, run the following command:

```bash
$ 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:

```bash
$ brew update
$ brew install carthage
```
To integrate Material into your Xcode project using Carthage, specify it in your Cartfile:

```bash
github "CosmicMind/Material"
```

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

## Change Log

Expand Down
2 changes: 1 addition & 1 deletion Sources/Frameworks/Motion
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.1.2</string>
<string>3.1.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit fe82bd6

Please sign in to comment.