You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-18Lines changed: 6 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -52,32 +52,20 @@ The iOS Sample App included with this project demonstrates one way to correctly
52
52
## Getting Started
53
53
It only takes a few simple steps to install and setup **BEMCheckBox** to your project.
54
54
55
-
###Installation
55
+
### Installation
56
+
57
+
#### CocoaPods
56
58
The easiest way to install **BEMCheckBox** is to use <ahref="http://cocoapods.org/"target="_blank">CocoaPods</a>. To do so, simply add the following line to your `Podfile`:
57
59
<pre><code>pod 'BEMCheckBox'</code></pre>
58
60
59
61
60
-
### Carthage
61
-
62
+
#### Carthage
62
63
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
63
64
64
-
You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
65
-
66
-
```bash
67
-
$ brew update
68
-
$ brew install carthage
69
-
```
70
-
71
-
To integrate BEMCheckBox into your Xcode project using Carthage, specify it in your `Cartfile`:
72
-
73
-
```ogdl
74
-
github "Boris-Em/BEMCheckBox"
75
-
```
76
-
77
65
Run `carthage update` to build the framework and drag the built `BEMCheckBox.framework` into your Xcode project.
78
66
79
-
80
-
The other way to install **BEMCheckBox**, is to drag and drop the *Classes* folder into your Xcode project. When you do so, make sure to check the "*Copy items into destination group's folder*" box.
67
+
#### Manually
68
+
Finally, you can install **BEMCheckBox** manually. Simply drag and drop the *Classes* folder into your Xcode project. When you do so, make sure to check the "*Copy items into destination group's folder*" box.
81
69
82
70
### Setup
83
71
Setting up **BEMCheckBox** to your project couldn't be more simple. It is modeled after `UISwitch`. In fact, you could just replace instances of `UISwitch` by **BEMCheckBox** in your project!
0 commit comments