Skip to content

Commit f522732

Browse files
committed
Merge branch 'develop'
2 parents a16e37d + 6d2d790 commit f522732

10 files changed

Lines changed: 27 additions & 20 deletions

File tree

.jazzy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ sourcekitten_sourcefile: docs.json
33
clean: true
44
author: Timofey Solomko
55
module: BitByteData
6-
module_version: 1.1.0
6+
module_version: 1.1.1
77
copyright: '© 2018 Timofey Solomko'
88
readme: README.md
99
github_url: https://github.com/tsolomko/BitByteData
10-
github_file_prefix: https://github.com/tsolomko/BitByteData/tree/1.1.0
10+
github_file_prefix: https://github.com/tsolomko/BitByteData/tree/1.1.1
1111
theme: fullwidth
1212

1313
custom_categories:

BitByteData.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "BitByteData"
4-
s.version = "1.1.0"
4+
s.version = "1.1.1"
55
s.summary = "Read and write bits and bytes in Swift."
66

77
s.description = "A Swift framework with classes for reading and writing bits and bytes."

BitByteData.xcodeproj/BitByteData.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.0</string>
18+
<string>1.1.1</string>
1919
<key>CFBundleVersion</key>
20-
<string>8</string>
20+
<string>9</string>
2121
<key>NSHumanReadableCopyright</key>
2222
<string>Copyright © 2018 Timofey Solomko. All rights reserved.</string>
2323
</dict>

BitByteData.xcodeproj/TestBitByteData.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.0</string>
18+
<string>1.1.1</string>
1919
<key>CFBundleVersion</key>
20-
<string>8</string>
20+
<string>9</string>
2121
</dict>
2222
</plist>

BitByteData.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
CLANG_WARN_SUSPICIOUS_MOVE = YES;
249249
CLANG_WARN_UNREACHABLE_CODE = YES;
250250
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
251-
CURRENT_PROJECT_VERSION = 8;
251+
CURRENT_PROJECT_VERSION = 9;
252252
DEBUG_INFORMATION_FORMAT = dwarf;
253253
ENABLE_STRICT_OBJC_MSGSEND = YES;
254254
ENABLE_TESTABILITY = YES;
@@ -264,6 +264,7 @@
264264
MACOSX_DEPLOYMENT_TARGET = 10.10;
265265
ONLY_ACTIVE_ARCH = YES;
266266
SDKROOT = macosx;
267+
STRIP_INSTALLED_PRODUCT = NO;
267268
SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos";
268269
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
269270
TVOS_DEPLOYMENT_TARGET = 9.0;
@@ -290,7 +291,7 @@
290291
CLANG_WARN_SUSPICIOUS_MOVE = YES;
291292
CLANG_WARN_UNREACHABLE_CODE = YES;
292293
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
293-
CURRENT_PROJECT_VERSION = 8;
294+
CURRENT_PROJECT_VERSION = 9;
294295
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
295296
ENABLE_STRICT_OBJC_MSGSEND = YES;
296297
GCC_NO_COMMON_BLOCKS = YES;
@@ -304,6 +305,7 @@
304305
MACOSX_DEPLOYMENT_TARGET = 10.10;
305306
ONLY_ACTIVE_ARCH = NO;
306307
SDKROOT = macosx;
308+
STRIP_INSTALLED_PRODUCT = NO;
307309
SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos";
308310
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
309311
TVOS_DEPLOYMENT_TARGET = 9.0;
@@ -318,7 +320,7 @@
318320
APPLICATION_EXTENSION_API_ONLY = YES;
319321
DEFINES_MODULE = YES;
320322
DYLIB_COMPATIBILITY_VERSION = 1;
321-
DYLIB_CURRENT_VERSION = 8;
323+
DYLIB_CURRENT_VERSION = 9;
322324
DYLIB_INSTALL_NAME_BASE = "@rpath";
323325
INFOPLIST_FILE = BitByteData.xcodeproj/BitByteData.plist;
324326
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -337,7 +339,7 @@
337339
APPLICATION_EXTENSION_API_ONLY = YES;
338340
DEFINES_MODULE = YES;
339341
DYLIB_COMPATIBILITY_VERSION = 1;
340-
DYLIB_CURRENT_VERSION = 8;
342+
DYLIB_CURRENT_VERSION = 9;
341343
DYLIB_INSTALL_NAME_BASE = "@rpath";
342344
INFOPLIST_FILE = BitByteData.xcodeproj/BitByteData.plist;
343345
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.1.1
4+
5+
- Added missing documentation for `bitsLeft` and `bitsRead` computed properties.
6+
- Disable symbol stripping in archives generated by Carthage and published on GitHub Releases.
7+
38
## 1.1.0
49

510
- Added converting from `ByteReader` initializers to `LsbBitReader` and `MsbBitReader`, as well as `BitReader` protocol.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let package = Package(
2222
name: "PackageName",
2323
dependencies: [
2424
.package(url: "https://github.com/tsolomko/BitByteData.git",
25-
from: "1.0.0")
25+
from: "1.1.0")
2626
],
2727
targets: [
2828
.target(
@@ -37,13 +37,13 @@ More details you can find in [Swift Package Manager's Documentation](https://git
3737

3838
### CocoaPods
3939

40-
Add `pod 'BitByteData', '~> 1.0'` and `use_frameworks!` to your Podfile.
40+
Add `pod 'BitByteData', '~> 1.1'` and `use_frameworks!` to your Podfile.
4141

4242
To complete installation, run `pod install`.
4343

4444
### Carthage
4545

46-
Add to your Cartfile `github "tsolomko/BitByteData" ~> 1.0`.
46+
Add to your Cartfile `github "tsolomko/BitByteData" ~> 1.1`.
4747

4848
Then run `carthage update`.
4949

Sources/BitReader.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ public protocol BitReader: class {
1111
/// True, if reader's BIT pointer is aligned with the BYTE border.
1212
var isAligned: Bool { get }
1313

14-
// Amount of bits left to read.
14+
/// Amount of bits left to read.
1515
var bitsLeft: Int { get }
1616

17-
// Amount of bits that were already read.
17+
/// Amount of bits that were already read.
1818
var bitsRead: Int { get }
1919

2020
/// Creates an instance for reading bits (and bytes) from `data`.

Sources/LsbBitReader.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public final class LsbBitReader: ByteReader, BitReader {
1616
return self.bitMask == 1
1717
}
1818

19-
// Amount of bits left to read.
19+
/// Amount of bits left to read.
2020
public var bitsLeft: Int {
2121
if self.isFinished {
2222
return 0
@@ -25,7 +25,7 @@ public final class LsbBitReader: ByteReader, BitReader {
2525
}
2626
}
2727

28-
// Amount of bits that were already read.
28+
/// Amount of bits that were already read.
2929
public var bitsRead: Int {
3030
if self.isFinished {
3131
return 8 * self.size

Sources/MsbBitReader.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public final class MsbBitReader: ByteReader, BitReader {
1616
return self.bitMask == 128
1717
}
1818

19-
// Amount of bits left to read.
19+
/// Amount of bits left to read.
2020
public var bitsLeft: Int {
2121
if self.isFinished {
2222
return 0
@@ -25,7 +25,7 @@ public final class MsbBitReader: ByteReader, BitReader {
2525
}
2626
}
2727

28-
// Amount of bits that were already read.
28+
/// Amount of bits that were already read.
2929
public var bitsRead: Int {
3030
if self.isFinished {
3131
return 8 * self.size

0 commit comments

Comments
 (0)