Skip to content

Commit 22b9a1e

Browse files
committed
Added Carthage instructions to README
1 parent fd66a9f commit 22b9a1e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:@"localhost:8
5555
Requires Swift 1.2/Xcode 6.3
5656
5757
If you need Swift 1.1/Xcode 6.2 use v1.5.2. (Pre-Swift 1.2 support is no longer maintained)
58+
59+
Carthage
60+
-----------------
61+
Add this line to your `Cartfile`:
62+
```
63+
github "socketio/socket.io-client-swift" ~> 2.3.7 # Or latest version
64+
```
65+
66+
Run `carthage update`.
67+
5868
Manually (iOS 7+)
5969
-----------------
6070
1. Copy the SocketIOClientSwift folder into your Xcode project. (Make sure you add the files to your target(s))
@@ -69,7 +79,7 @@ source 'https://github.com/CocoaPods/Specs.git'
6979
platform :ios, '8.0'
7080
use_frameworks!
7181
72-
pod 'Socket.IO-Client-Swift', '~> 1.3.2' # Or latest version
82+
pod 'Socket.IO-Client-Swift', '~> 2.3.7' # Or latest version
7383
```
7484

7585
Install pods:

0 commit comments

Comments
 (0)