File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.
7
7
[ ![ Cocoapods Compatible] ( https://img.shields.io/cocoapods/v/SnapKit.svg )] ( https://cocoapods.org/pods/SnapKit )
8
8
[ ![ Carthage compatible] ( https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat )] ( https://github.com/Carthage/Carthage )
9
9
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** ⚠️
12
12
13
13
## Contents
14
14
@@ -105,6 +105,7 @@ class MyViewController: UIViewController {
105
105
super .viewDidLoad ()
106
106
107
107
self .view .addSubview (box)
108
+ box.backgroundColor = .green
108
109
box.snp .makeConstraints { (make) -> Void in
109
110
make.width .height .equalTo (50 )
110
111
make.center .equalTo (self .view )
You can’t perform that action at this time.
0 commit comments