Commit 650faa1f authored by Stefan van den Oord's avatar Stefan van den Oord

Updated SwiftBytes to 0.2.0 to fix compiler warning

parent 207c32cd
......@@ -4,7 +4,7 @@ platform :ios, '8.0'
link_with 'Pulse'
use_frameworks!
pod 'SwiftBytes', '~> 0.1.0'
pod 'SwiftBytes', '~> 0.2.0'
pod 'CocoaAsyncSocket', '~> 7.4', :inhibit_warnings => true
pod 'lz4', '~> 128', :inhibit_warnings => true
pod 'Base32', '~> 1.0.2'
......
......@@ -6,7 +6,7 @@ PODS:
- Nimble (0.4.2)
- OpenSSL-Framework (1.0.201)
- Quick (0.3.1)
- SwiftBytes (0.1.0)
- SwiftBytes (0.2.0)
DEPENDENCIES:
- Base32 (~> 1.0.2)
......@@ -16,7 +16,7 @@ DEPENDENCIES:
- Nimble (~> 0.3)
- OpenSSL-Framework (~> 1.0.201)
- Quick (~> 0.2)
- SwiftBytes (~> 0.1.0)
- SwiftBytes (~> 0.2.0)
SPEC CHECKSUMS:
Base32: 4e6b6d6c344b48da363c5268f9c391d37893401f
......@@ -26,6 +26,6 @@ SPEC CHECKSUMS:
Nimble: 49b7a7da8919f42823d37c6d68cc6d15a7009f32
OpenSSL-Framework: 2d2289869dd1cfd0df0b340398bcf64094ecfe12
Quick: 824572d3d198d51e52cf4aa722cebf7e59952a35
SwiftBytes: e7a808f61a9954ee173e1c3c09d211e3a212c2db
SwiftBytes: a700beb32d020abedd3fc3bb4f0e3b5444cb18b6
COCOAPODS: 0.36.3
......@@ -6,7 +6,7 @@ PODS:
- Nimble (0.4.2)
- OpenSSL-Framework (1.0.201)
- Quick (0.3.1)
- SwiftBytes (0.1.0)
- SwiftBytes (0.2.0)
DEPENDENCIES:
- Base32 (~> 1.0.2)
......@@ -16,7 +16,7 @@ DEPENDENCIES:
- Nimble (~> 0.3)
- OpenSSL-Framework (~> 1.0.201)
- Quick (~> 0.2)
- SwiftBytes (~> 0.1.0)
- SwiftBytes (~> 0.2.0)
SPEC CHECKSUMS:
Base32: 4e6b6d6c344b48da363c5268f9c391d37893401f
......@@ -26,6 +26,6 @@ SPEC CHECKSUMS:
Nimble: 49b7a7da8919f42823d37c6d68cc6d15a7009f32
OpenSSL-Framework: 2d2289869dd1cfd0df0b340398bcf64094ecfe12
Quick: 824572d3d198d51e52cf4aa722cebf7e59952a35
SwiftBytes: e7a808f61a9954ee173e1c3c09d211e3a212c2db
SwiftBytes: a700beb32d020abedd3fc3bb4f0e3b5444cb18b6
COCOAPODS: 0.36.3
This diff is collapsed.
......@@ -124,7 +124,7 @@ extension NSData {
public var bytes: [UInt8] {
var result: [UInt8] = [UInt8](count: self.length, repeatedValue: 0)
self.getBytes(&result)
self.getBytes(&result, length:self.length)
return result
}
......
......@@ -24,10 +24,10 @@ Installation
You can use [CocoaPods] to add this library to your project. Use the following in your Podfile:
pod 'swift-bytes'
pod 'SwiftBytes'
After adding this library to your project, you can import it in your swift files:
import Bytes
import SwiftBytes
[CocoaPods]: http://cocoapods.org
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<string>0.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -45,7 +45,7 @@
// SwiftBytes
#define COCOAPODS_POD_AVAILABLE_SwiftBytes
#define COCOAPODS_VERSION_MAJOR_SwiftBytes 0
#define COCOAPODS_VERSION_MINOR_SwiftBytes 1
#define COCOAPODS_VERSION_MINOR_SwiftBytes 2
#define COCOAPODS_VERSION_PATCH_SwiftBytes 0
// lz4
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<string>0.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -45,7 +45,7 @@
// SwiftBytes
#define COCOAPODS_POD_AVAILABLE_SwiftBytes
#define COCOAPODS_VERSION_MAJOR_SwiftBytes 0
#define COCOAPODS_VERSION_MINOR_SwiftBytes 1
#define COCOAPODS_VERSION_MINOR_SwiftBytes 2
#define COCOAPODS_VERSION_PATCH_SwiftBytes 0
// lz4
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<string>0.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -45,7 +45,7 @@
// SwiftBytes
#define COCOAPODS_POD_AVAILABLE_SwiftBytes
#define COCOAPODS_VERSION_MAJOR_SwiftBytes 0
#define COCOAPODS_VERSION_MINOR_SwiftBytes 1
#define COCOAPODS_VERSION_MINOR_SwiftBytes 2
#define COCOAPODS_VERSION_PATCH_SwiftBytes 0
// lz4
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<string>0.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -33,7 +33,7 @@
// SwiftBytes
#define COCOAPODS_POD_AVAILABLE_SwiftBytes
#define COCOAPODS_VERSION_MAJOR_SwiftBytes 0
#define COCOAPODS_VERSION_MINOR_SwiftBytes 1
#define COCOAPODS_VERSION_MINOR_SwiftBytes 2
#define COCOAPODS_VERSION_PATCH_SwiftBytes 0
// lz4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment