From 198b62402fe428babf6847c38bfa22c2529e038d Mon Sep 17 00:00:00 2001 From: Liam Elmore <32336260+iosmo@users.noreply.github.com> Date: Mon, 5 Aug 2019 09:39:18 +0100 Subject: [PATCH] Add background color to quick start box in README.md (#619) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0945ce6..ecc209c 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ SnapKit is a DSL to make Auto Layout easy on both iOS and OS X. [![Cocoapods Compatible](https://img.shields.io/cocoapods/v/SnapKit.svg)](https://cocoapods.org/pods/SnapKit) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) -#### ⚠️ **To use with Swift 4.x please ensure you are using >= 4.0.0** ⚠️ -#### ⚠️ **To use with Swift 5.x please ensure you are using >= 5.0.0** ⚠️ +#### ⚠️ **To use with Swift 4.x please ensure you are using >= 4.0.0** ⚠️ +#### ⚠️ **To use with Swift 5.x please ensure you are using >= 5.0.0** ⚠️ ## Contents @@ -105,6 +105,7 @@ class MyViewController: UIViewController { super.viewDidLoad() self.view.addSubview(box) + box.backgroundColor = .green box.snp.makeConstraints { (make) -> Void in make.width.height.equalTo(50) make.center.equalTo(self.view)