Skip to content

Commit fe82bd6

Browse files
author
Daniel Dahan
committed
added layout constraints and added installation instructions to README
1 parent 091e108 commit fe82bd6

File tree

5 files changed

+51
-4
lines changed

5 files changed

+51
-4
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 3.1.3
2+
3+
* Added installation instructions to README.
4+
5+
- [pr-1236](https://github.com/CosmicMind/Material/pull/1236): Added Layout relations.
6+
- [issue-1220](https://github.com/CosmicMind/Material/issues/1220): Support all relations for Layout constraints.
7+
18
## 3.1.2
29

310
- [pr-1233](https://github.com/CosmicMind/Material/pull/1233): Fixed Layout breaks - subview ordering.

Material.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Material'
3-
s.version = '3.1.2'
3+
s.version = '3.1.3'
44
s.swift_version = '5.0'
55
s.license = 'BSD-3-Clause'
66
s.summary = 'A UI/UX framework for creating beautiful applications.'

README.md

+41-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,47 @@ Take a look at [Sample Projects](https://github.com/CosmicMind/Samples) to get y
6161
> **Embedded frameworks require a minimum deployment target of iOS 8+.**
6262
> - [Download Material](https://github.com/CosmicMind/Material/archive/master.zip)
6363
64-
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).
64+
## CocoaPods
65+
66+
[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
67+
68+
```bash
69+
$ gem install cocoapods
70+
```
71+
72+
To integrate Material's core features into your Xcode project using CocoaPods, specify it in your `Podfile`:
73+
74+
```ruby
75+
source 'https://github.com/CocoaPods/Specs.git'
76+
platform :ios, '8.0'
77+
use_frameworks!
78+
79+
pod 'Material', '~> 3.1.0'
80+
```
81+
82+
Then, run the following command:
83+
84+
```bash
85+
$ pod install
86+
```
87+
88+
## Carthage
89+
90+
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
91+
92+
You can install Carthage with Homebrew using the following command:
93+
94+
```bash
95+
$ brew update
96+
$ brew install carthage
97+
```
98+
To integrate Material into your Xcode project using Carthage, specify it in your Cartfile:
99+
100+
```bash
101+
github "CosmicMind/Material"
102+
```
103+
104+
Run `carthage update` to build the framework and drag the built `Material.framework` into your Xcode project.
65105

66106
## Change Log
67107

Sources/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.1.2</string>
18+
<string>3.1.3</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)