Authored by Ole Gammelgaard Poulsen

Added Carthage compatible badge to README

1 -#Masonry [![Build Status](https://travis-ci.org/SnapKit/Masonry.svg?branch=master)](https://travis-ci.org/SnapKit/Masonry) [![Coverage Status](https://img.shields.io/coveralls/SnapKit/Masonry.svg?style=flat-square)](https://coveralls.io/r/SnapKit/Masonry) 1 +#Masonry [![Build Status](https://travis-ci.org/SnapKit/Masonry.svg?branch=master)](https://travis-ci.org/SnapKit/Masonry) [![Coverage Status](https://img.shields.io/coveralls/SnapKit/Masonry.svg?style=flat-square)](https://coveralls.io/r/SnapKit/Masonry) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
2 2
3 **Masonry is being deprecated into a bugfix only state as more developers will be moving to Swift. Going forward we recommend using [SnapKit](https://github.com/SnapKit/SnapKit) as it supports Swift and provides better type safety with a simpler API**. 3 **Masonry is being deprecated into a bugfix only state as more developers will be moving to Swift. Going forward we recommend using [SnapKit](https://github.com/SnapKit/SnapKit) as it supports Swift and provides better type safety with a simpler API**.
4 4
@@ -265,7 +265,7 @@ Alternatively if you are only updating the constant value of the constraint you @@ -265,7 +265,7 @@ Alternatively if you are only updating the constant value of the constraint you
265 make.width.lessThanOrEqualTo(self); 265 make.width.lessThanOrEqualTo(self);
266 make.height.lessThanOrEqualTo(self); 266 make.height.lessThanOrEqualTo(self);
267 }]; 267 }];
268 - 268 +
269 //according to apple super should be called at end of method 269 //according to apple super should be called at end of method
270 [super updateConstraints]; 270 [super updateConstraints];
271 } 271 }
@@ -280,7 +280,7 @@ Alternatively if you are only updating the constant value of the constraint you @@ -280,7 +280,7 @@ Alternatively if you are only updating the constant value of the constraint you
280 - (void)changeButtonPosition { 280 - (void)changeButtonPosition {
281 [self.button mas_remakeConstraints:^(MASConstraintMaker *make) { 281 [self.button mas_remakeConstraints:^(MASConstraintMaker *make) {
282 make.size.equalTo(self.buttonSize); 282 make.size.equalTo(self.buttonSize);
283 - 283 +
284 if (topLeft) { 284 if (topLeft) {
285 make.top.and.left.offset(10); 285 make.top.and.left.offset(10);
286 } else { 286 } else {
@@ -346,9 +346,9 @@ Get busy Masoning @@ -346,9 +346,9 @@ Get busy Masoning
346 Copy the included code snippets to ``~/Library/Developer/Xcode/UserData/CodeSnippets`` to write your masonry blocks at lightning speed! 346 Copy the included code snippets to ``~/Library/Developer/Xcode/UserData/CodeSnippets`` to write your masonry blocks at lightning speed!
347 347
348 `mas_make` -> `[<view> mas_makeConstraints:^(MASConstraintMaker *make){<code>}];` 348 `mas_make` -> `[<view> mas_makeConstraints:^(MASConstraintMaker *make){<code>}];`
349 - 349 +
350 `mas_update` -> `[<view> mas_updateConstraints:^(MASConstraintMaker *make){<code>}];` 350 `mas_update` -> `[<view> mas_updateConstraints:^(MASConstraintMaker *make){<code>}];`
351 - 351 +
352 `mas_remake` -> `[<view> mas_remakeConstraints:^(MASConstraintMaker *make){<code>}];` 352 `mas_remake` -> `[<view> mas_remakeConstraints:^(MASConstraintMaker *make){<code>}];`
353 353
354 ## Features 354 ## Features