Przeglądaj źródła

Merge pull request #194 from olegam/carthage_badge

Added Carthage compatible badge to README
Robert Payne 10 lat temu
rodzic
commit
4bb4addc00
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      README.md

+ 5 - 5
README.md

@@ -1,4 +1,4 @@
-#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)
+#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)
 
 
 **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**.
 **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**.
 
 
@@ -265,7 +265,7 @@ Alternatively if you are only updating the constant value of the constraint you
         make.width.lessThanOrEqualTo(self);
         make.width.lessThanOrEqualTo(self);
         make.height.lessThanOrEqualTo(self);
         make.height.lessThanOrEqualTo(self);
     }];
     }];
-    
+
     //according to apple super should be called at end of method
     //according to apple super should be called at end of method
     [super updateConstraints];
     [super updateConstraints];
 }
 }
@@ -280,7 +280,7 @@ Alternatively if you are only updating the constant value of the constraint you
 - (void)changeButtonPosition {
 - (void)changeButtonPosition {
     [self.button mas_remakeConstraints:^(MASConstraintMaker *make) {
     [self.button mas_remakeConstraints:^(MASConstraintMaker *make) {
         make.size.equalTo(self.buttonSize);
         make.size.equalTo(self.buttonSize);
-        
+
         if (topLeft) {
         if (topLeft) {
         	make.top.and.left.offset(10);
         	make.top.and.left.offset(10);
         } else {
         } else {
@@ -346,9 +346,9 @@ Get busy Masoning
 Copy the included code snippets to ``~/Library/Developer/Xcode/UserData/CodeSnippets`` to write your masonry blocks at lightning speed!
 Copy the included code snippets to ``~/Library/Developer/Xcode/UserData/CodeSnippets`` to write your masonry blocks at lightning speed!
 
 
 `mas_make` -> `[<view> mas_makeConstraints:^(MASConstraintMaker *make){<code>}];`
 `mas_make` -> `[<view> mas_makeConstraints:^(MASConstraintMaker *make){<code>}];`
-    
+
 `mas_update` -> `[<view> mas_updateConstraints:^(MASConstraintMaker *make){<code>}];`
 `mas_update` -> `[<view> mas_updateConstraints:^(MASConstraintMaker *make){<code>}];`
-    
+
 `mas_remake` -> `[<view> mas_remakeConstraints:^(MASConstraintMaker *make){<code>}];`
 `mas_remake` -> `[<view> mas_remakeConstraints:^(MASConstraintMaker *make){<code>}];`
 
 
 ## Features
 ## Features