Ind.ie is now Small Technology Foundation.
Commit 4d02ddb9 authored by Dapperstout's avatar Dapperstout

Update to latest version of SwiftBytes.

parent a199e2e4
......@@ -4,7 +4,7 @@ platform :ios, '9.0'
use_frameworks!
target 'Pulse' do
pod 'SwiftBytes', '~> 0.2'
  • Why did you change the Podfile this way? Having an explicit URL in there is not desirable I think, and it was already using that URL. If you require min. 0.4.0, just putting '~> 0.4' would do the job...

Please register or sign in to reply
pod 'SwiftBytes', git: 'https://github.com/dapperstout/swift-bytes'
pod 'CocoaAsyncSocket', '~> 7.4.0', :inhibit_warnings => true
pod 'lz4', '~> 128', :inhibit_warnings => true
pod 'Base32', '~> 1.0.2'
......
......@@ -16,7 +16,7 @@ PODS:
- SelfSignedCert (1.0.0):
- IDZSwiftCommonCrypto (~> 0.7)
- SwiftBytes (~> 0.2)
- SwiftBytes (0.3.1)
- SwiftBytes (0.4.0)
DEPENDENCIES:
- Base32 (~> 1.0.2)
......@@ -27,7 +27,16 @@ DEPENDENCIES:
- Nimble (~> 3.0)
- Quick (~> 0.6)
- SelfSignedCert (~> 1.0)
- SwiftBytes (~> 0.2)
- SwiftBytes (from `https://github.com/dapperstout/swift-bytes`)
EXTERNAL SOURCES:
SwiftBytes:
:git: https://github.com/dapperstout/swift-bytes
CHECKOUT OPTIONS:
SwiftBytes:
:commit: 6751bc62418cc6762ba3543d40c10fce37abbb6f
:git: https://github.com/dapperstout/swift-bytes
SPEC CHECKSUMS:
Base32: 4e6b6d6c344b48da363c5268f9c391d37893401f
......@@ -39,8 +48,8 @@ SPEC CHECKSUMS:
Nimble: 703854335d181df169bbca9c97117b5cf8c47c1d
Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226
SelfSignedCert: eeb068ecdbccc68bfd5e8955f7b3df55394d656a
SwiftBytes: 262e08479bc103bbb4eccd296e8b8ffb2102f7c3
SwiftBytes: a53777c227da7015472aa3f3d9fa08fb83ec8ba6
PODFILE CHECKSUM: 76ad1f5955f406cd172c52ef7d87b946e48f77fc
PODFILE CHECKSUM: 93e10a99e6819e4074239df5ba62eae95d8a16e9
COCOAPODS: 1.0.1
{
"name": "SwiftBytes",
"version": "0.4.0",
"summary": "Collection of helper methods for byte manipulation in Swift",
"description": "This library contains a collection of helper methods for\nbyte manipulation in Swift.\n\nIf you're like me, and can never remember whether you should\ndouble right-shift or tripple left-shift to get to the\nbits you want, then this library might be of some use to\nyou.",
"homepage": "https://github.com/dapperstout/swift-bytes",
"license": {
"type": "MIT"
},
"authors": "Dapperstout",
"source": {
"git": "https://github.com/dapperstout/swift-bytes.git",
"tag": "0.4.0"
},
"platforms": {
"ios": "8.0",
"osx": "10.9"
},
"source_files": "Bytes/Bytes/**/*.swift",
"requires_arc": true
}
......@@ -16,7 +16,7 @@ PODS:
- SelfSignedCert (1.0.0):
- IDZSwiftCommonCrypto (~> 0.7)
- SwiftBytes (~> 0.2)
- SwiftBytes (0.3.1)
- SwiftBytes (0.4.0)
DEPENDENCIES:
- Base32 (~> 1.0.2)
......@@ -27,7 +27,16 @@ DEPENDENCIES:
- Nimble (~> 3.0)
- Quick (~> 0.6)
- SelfSignedCert (~> 1.0)
- SwiftBytes (~> 0.2)
- SwiftBytes (from `https://github.com/dapperstout/swift-bytes`)
EXTERNAL SOURCES:
SwiftBytes:
:git: https://github.com/dapperstout/swift-bytes
CHECKOUT OPTIONS:
SwiftBytes:
:commit: 6751bc62418cc6762ba3543d40c10fce37abbb6f
:git: https://github.com/dapperstout/swift-bytes
SPEC CHECKSUMS:
Base32: 4e6b6d6c344b48da363c5268f9c391d37893401f
......@@ -39,8 +48,8 @@ SPEC CHECKSUMS:
Nimble: 703854335d181df169bbca9c97117b5cf8c47c1d
Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226
SelfSignedCert: eeb068ecdbccc68bfd5e8955f7b3df55394d656a
SwiftBytes: 262e08479bc103bbb4eccd296e8b8ffb2102f7c3
SwiftBytes: a53777c227da7015472aa3f3d9fa08fb83ec8ba6
PODFILE CHECKSUM: 76ad1f5955f406cd172c52ef7d87b946e48f77fc
PODFILE CHECKSUM: 93e10a99e6819e4074239df5ba62eae95d8a16e9
COCOAPODS: 1.0.1
......@@ -88,6 +88,10 @@ public func unsigned(byte: Int8) -> UInt8 {
return UInt8(bitPattern: byte)
}
public func unsigned(int16: Int16) -> UInt16 {
return UInt16(bitPattern: int16)
}
public func unsigned(int32: Int32) -> UInt32 {
return UInt32(bitPattern: int32)
}
......@@ -104,6 +108,10 @@ public func signed(byte : UInt8) -> Int8 {
return Int8(bitPattern: byte)
}
public func signed(uint16: UInt16) -> Int16 {
return Int16(bitPattern: uint16)
}
public func signed(uint32: UInt32) -> Int32 {
return Int32(bitPattern: uint32)
}
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.3.1</string>
<string>0.4.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
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