Add Carthage support and edit link for pod version shield

This commit is contained in:
Dan Shevlyuk 2016-12-18 15:18:27 +03:00
parent 93f2e7e111
commit b4f7024940

View File

@ -1,5 +1,7 @@
# SwiftSocket
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/SwiftSocket.svg)](https://img.shields.io/cocoapods/v/SwiftSocket.svg) [![CocoaPods Platforms](https://img.shields.io/cocoapods/p/SwiftSocket.svg)](https://img.shields.io/cocoapods/p/SwiftSocket.svg)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/SwiftSocket.svg)](https://cocoapods.org/pods/SwiftSocket)
[![CocoaPods Platforms](https://img.shields.io/cocoapods/p/SwiftSocket.svg)](https://img.shields.io/cocoapods/p/SwiftSocket.svg)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
SwiftSocket library provides as easy to use interface for socket based connections on server or client side.
Supports both TCP and UDP sockets.
@ -13,6 +15,11 @@ pod 'SwiftSocket'
```
And run then `pod install`
## Carthage
```ruby
github 'swiftsocket/SwiftSocket
```
# Code examples
## Create client socket