Merge pull request #290 from charleshkang/develop

Fixed landscape layout for redView and fixed typo in Contributing.md
This commit is contained in:
Robert Payne 2016-09-07 20:24:57 +12:00 committed by GitHub
commit 527c3a0f3a
2 changed files with 2 additions and 2 deletions

View File

@ -8,4 +8,4 @@ We gladly accept any PR's assuming they are well written, documented ( if necess
Please use the issue tracker *strictly* for bugs you think are caused by a code issue in SnapKit. Were very busy and as a free open source library do not have the time to adequately help with questions that are more tutorial/training in nature and recommend using Stack Overflow and Google as alternatives. Please use the issue tracker *strictly* for bugs you think are caused by a code issue in SnapKit. Were very busy and as a free open source library do not have the time to adequately help with questions that are more tutorial/training in nature and recommend using Stack Overflow and Google as alternatives.
Please do not be offended if we close your issue and reference this document. If you believe the issue is truely a fault in SnapKits codebase re-open it. Please do not be offended if we close your issue and reference this document. If you believe the issue is truly a fault in SnapKits codebase, re-open it.

View File

@ -67,7 +67,7 @@ class SimpleLayoutViewController: UIViewController {
redView.snp_makeConstraints { make in redView.snp_makeConstraints { make in
make.top.equalTo(blackView.snp_bottom).offset(20.0) make.top.equalTo(blackView.snp_bottom).offset(20.0)
make.left.equalTo(20.0) make.right.equalTo(blackView.snp_left).offset(-20.0)
make.size.equalTo(CGSizeMake(100.0, 100.0)) make.size.equalTo(CGSizeMake(100.0, 100.0))
} }