From a0c213364d8303174eef99dae7089e54a9503f70 Mon Sep 17 00:00:00 2001 From: Tom Baranes Date: Wed, 7 Oct 2015 08:49:49 +0200 Subject: [PATCH 1/2] Add CocoaSeeds installation --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c6f2ba..69c976e 100644 --- a/README.md +++ b/README.md @@ -95,15 +95,30 @@ $ pod install Import the module: Swift: -```swift +``` +swift import Socket_IO_Client_Swift ``` Objective-C: -```Objective-C + +``` +Objective-C #import ``` +CocoaSeeds +----------------- + +Add this line to your `Seedfile`: + +``` +github "socketio/socket.io-client-swift", "v3.1.4", :files => "SocketIOClientSwift/*.swift" # Or latest version +``` + +Run `seed install`. + + ##API Constructors ----------- From 6d49c37fb858b53f61a0bdaf75b8cb7f95b42f8a Mon Sep 17 00:00:00 2001 From: Tom Baranes Date: Wed, 7 Oct 2015 15:27:40 +0200 Subject: [PATCH 2/2] Fix syntax highlighting --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 69c976e..37055ae 100644 --- a/README.md +++ b/README.md @@ -95,15 +95,13 @@ $ pod install Import the module: Swift: -``` -swift +```swift import Socket_IO_Client_Swift ``` Objective-C: -``` -Objective-C +```Objective-C #import ```