From 22b9a1e2f27931371838432dc17d91495fd1e362 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Sun, 12 Jul 2015 01:05:25 +0000 Subject: [PATCH] Added Carthage instructions to README --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f61ef1..eec2c87 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,16 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:@"localhost:8 Requires Swift 1.2/Xcode 6.3 If you need Swift 1.1/Xcode 6.2 use v1.5.2. (Pre-Swift 1.2 support is no longer maintained) + +Carthage +----------------- +Add this line to your `Cartfile`: +``` +github "socketio/socket.io-client-swift" ~> 2.3.7 # Or latest version +``` + +Run `carthage update`. + Manually (iOS 7+) ----------------- 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' platform :ios, '8.0' use_frameworks! -pod 'Socket.IO-Client-Swift', '~> 1.3.2' # Or latest version +pod 'Socket.IO-Client-Swift', '~> 2.3.7' # Or latest version ``` Install pods: