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
Visit the [Installation](https://github.com/CosmicMind/Algorithm/wiki/Installation) page to learn how to install Algorithm using [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage).
45
+
## CocoaPods
46
+
47
+
[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
48
+
49
+
```bash
50
+
$ gem install cocoapods
51
+
```
52
+
53
+
To integrate Algorithm's core features into your Xcode project using CocoaPods, specify it in your `Podfile`:
54
+
55
+
```ruby
56
+
source 'https://github.com/CocoaPods/Specs.git'
57
+
platform :ios, '8.0'
58
+
use_frameworks!
59
+
60
+
pod 'Algorithm', '~> 3.1.0'
61
+
```
62
+
63
+
Then, run the following command:
64
+
65
+
```bash
66
+
$ pod install
67
+
```
68
+
69
+
## Carthage
70
+
71
+
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
72
+
73
+
You can install Carthage with Homebrew using the following command:
74
+
75
+
```bash
76
+
$ brew update
77
+
$ brew install carthage
78
+
```
79
+
To integrate Algorithm into your Xcode project using Carthage, specify it in your Cartfile:
80
+
81
+
```bash
82
+
github "CosmicMind/Algorithm"
83
+
```
84
+
85
+
Run `carthage update` to build the framework and drag the built `Algorithm.framework` into your Xcode project.
0 commit comments