Skip to content

Commit 198b624

Browse files
iosmorobertjpayne
authored andcommitted
Add background color to quick start box in README.md (SnapKit#619)
1 parent d458564 commit 198b624

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.
77
[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/SnapKit.svg)](https://cocoapods.org/pods/SnapKit)
88
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
99

10-
#### ⚠️ **To use with Swift 4.x please ensure you are using >= 4.0.0** ⚠️
11-
#### ⚠️ **To use with Swift 5.x please ensure you are using >= 5.0.0** ⚠️
10+
#### ⚠️ **To use with Swift 4.x please ensure you are using >= 4.0.0** ⚠️
11+
#### ⚠️ **To use with Swift 5.x please ensure you are using >= 5.0.0** ⚠️
1212

1313
## Contents
1414

@@ -105,6 +105,7 @@ class MyViewController: UIViewController {
105105
super.viewDidLoad()
106106

107107
self.view.addSubview(box)
108+
box.backgroundColor = .green
108109
box.snp.makeConstraints { (make) -> Void in
109110
make.width.height.equalTo(50)
110111
make.center.equalTo(self.view)

0 commit comments

Comments
 (0)