Skip to content

Commit 18d911b

Browse files
Merge branch 'develop'
# Conflicts: # README.md
2 parents 3d1b1e0 + ad5a1a9 commit 18d911b

File tree

69 files changed

+631
-997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+631
-997
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.2
1+
5.0

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ opt_in_rules:
2424
- force_unwrapping
2525
- implicitly_unwrapped_optional
2626
- joined_default_parameter
27+
- last_where
2728
- let_var_whitespace
2829
- literal_expression_end_indentation
2930
- lower_acl_than_parent

.travis.yml

Lines changed: 43 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,68 @@ env:
77

88
matrix:
99
include:
10-
- os: linux
10+
- name: Ubuntu 14.04 / SwiftPM
11+
os: linux
1112
language: generic
1213
sudo: required
1314
dist: trusty
1415
env: SPM="YES"
15-
- os: osx
16+
- name: Ubuntu 16.04 / SwiftPM
17+
os: linux
18+
language: generic
19+
sudo: required
20+
dist: xenial
21+
env: SPM="YES"
22+
- name: macOS / Xcode 10.2 / SwiftPM
23+
os: osx
1624
language: objective-c
17-
osx_image: xcode10.1
25+
osx_image: xcode10.2
1826
env: SPM="YES"
19-
- os: osx
27+
- name: macOS / Xcode 10.2 / iOS 12.2 / iPhone X
28+
os: osx
2029
language: objective-c
21-
osx_image: xcode10.1
22-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=12.0,name=iPhone X" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
23-
- os: osx
30+
osx_image: xcode10.2
31+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=12.2,name=iPhone X" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
32+
- name: macOS / Xcode 10.2 / iOS 11.4 / iPhone 7 Plus
33+
os: osx
2434
language: objective-c
25-
osx_image: xcode10.1
35+
osx_image: xcode10.2
2636
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=11.4,name=iPhone 7 Plus" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" LINT="YES" COVERAGE="YES" EXAMPLE="NO"
27-
- os: osx
37+
- name: macOS / Xcode 10.2 / iOS 10.3.1 / iPhone 6
38+
os: osx
2839
language: objective-c
29-
osx_image: xcode10.1
30-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=10.3.1,name=iPhone 6" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
31-
- os: osx
40+
osx_image: xcode10.2
41+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=10.3.1,name=iPhone 6" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
42+
- name: macOS / Xcode 10.2 / iOS 9.0 / iPhone 5s
43+
os: osx
3244
language: objective-c
33-
osx_image: xcode10.1
34-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=9.0,name=iPhone 5s" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
35-
- os: osx
45+
osx_image: xcode10.2
46+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=9.0,name=iPhone 5s" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
47+
- name: macOS / Xcode 10.2 / watchOS 5.2 / Apple Watch 4 - 44mm
48+
os: osx
3649
language: objective-c
37-
osx_image: xcode10.1
38-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=5.0,name=Apple Watch Series 4 - 44mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
39-
- os: osx
50+
osx_image: xcode10.2
51+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=5.2,name=Apple Watch Series 4 - 44mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
52+
- name: macOS / Xcode 10.2 / watchOS 4.2 / Apple Watch 3 - 38mm
53+
os: osx
4054
language: objective-c
41-
osx_image: xcode10.1
55+
osx_image: xcode10.2
4256
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=4.2,name=Apple Watch Series 3 - 38mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
43-
- os: osx
57+
- name: macOS / Xcode 10.2 / watchOS 3.2 / Apple Watch 2 - 42mm
58+
os: osx
4459
language: objective-c
45-
osx_image: xcode10.1
60+
osx_image: xcode10.2
4661
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=3.2,name=Apple Watch Series 2 - 42mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
47-
- os: osx
48-
language: objective-c
49-
osx_image: xcode10.1
50-
env: PROJ="BFKit.xcodeproj" DESTINATION="arch=x86_64" SCHEME="$MACOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
51-
- os: osx
62+
- name: macOS / Xcode 10.2
63+
os: osx
5264
language: objective-c
53-
osx_image: xcode10.1
65+
osx_image: xcode10.2
5466
env: PROJ="BFKit.xcodeproj" DESTINATION="arch=x86_64" SCHEME="$MACOS_SCHEME" RUN_TESTS="YES" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
55-
- os: osx
67+
- name: macOS / Xcode 10.2 / iOS 12.2 / iPhone 7 Plus / Demo
68+
os: osx
5669
language: objective-c
57-
osx_image: xcode10.1
58-
env: PROJ="Example/BFKitExample.xcodeproj" DESTINATION="OS=11.3,name=iPhone 7 Plus" SCHEME="$EXAMPLE_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="YES"
70+
osx_image: xcode10.2
71+
env: PROJ="Example/BFKitExample.xcodeproj" DESTINATION="OS=12.2,name=iPhone 7 Plus" SCHEME="$EXAMPLE_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="YES"
5972

6073
before_install:
6174
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then

BFKit-Swift.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = 'BFKit-Swift'
33
s.module_name = 'BFKit'
4-
s.version = '4.1.0'
4+
s.version = '5.0.0'
55
s.summary = 'BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.'
66
s.homepage = 'https://github.com/FabrizioBrancati/BFKit-Swift'
77
s.screenshots = 'https://github.fabriziobrancati.com/bfkit/resources/screenshot-swift.png'
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
1111
s.source = { :git => 'https://github.com/FabrizioBrancati/BFKit-Swift.git', :tag => s.version }
1212
s.documentation_url = 'https://github.fabriziobrancati.com/documentation/BFKit-Swift/'
1313

14-
s.swift_version = '4.2'
14+
s.swift_version = '5.0'
1515

1616
s.ios.deployment_target = '8.0'
1717
s.ios.source_files = 'Sources/**/*.swift'

BFKit.xcodeproj/project.pbxproj

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
490314F51F0C2F4000499354 /* BFButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314781F0C2EA600499354 /* BFButton.swift */; };
2828
490314F61F0C2F4000499354 /* BFSystemSound.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314791F0C2EA600499354 /* BFSystemSound.swift */; };
2929
490314F71F0C2F4000499354 /* BFTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4903147A1F0C2EA600499354 /* BFTextField.swift */; };
30-
490314F81F0C2F4000499354 /* BFTouchID.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4903147B1F0C2EA600499354 /* BFTouchID.swift */; };
3130
490314F91F0C2F4200499354 /* FileManager+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4903147D1F0C2EA600499354 /* FileManager+Extensions.swift */; };
3231
490314FA1F0C2F4200499354 /* NSAttributedString+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4903147E1F0C2EA600499354 /* NSAttributedString+Extensions.swift */; };
3332
490314FB1F0C2F4200499354 /* NSPointerArray+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4903147F1F0C2EA600499354 /* NSPointerArray+Extensions.swift */; };
@@ -94,7 +93,6 @@
9493
4903153C1F0C358000499354 /* BFButtonTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314B21F0C2EA600499354 /* BFButtonTests.swift */; };
9594
4903153D1F0C358000499354 /* BFSystemSoundTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314B31F0C2EA600499354 /* BFSystemSoundTests.swift */; };
9695
4903153E1F0C358000499354 /* BFTextFieldTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314B41F0C2EA600499354 /* BFTextFieldTests.swift */; };
97-
4903153F1F0C358000499354 /* BFTouchIDTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314B51F0C2EA600499354 /* BFTouchIDTests.swift */; };
9896
490315401F0C358000499354 /* FileManagerExtensionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314B71F0C2EA600499354 /* FileManagerExtensionTests.swift */; };
9997
490315411F0C358000499354 /* NSAttributedStringExtensionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314B81F0C2EA600499354 /* NSAttributedStringExtensionTests.swift */; };
10098
490315421F0C358000499354 /* NSPointerArrayExtensionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314B91F0C2EA600499354 /* NSPointerArrayExtensionTests.swift */; };
@@ -189,7 +187,6 @@
189187
490314781F0C2EA600499354 /* BFButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFButton.swift; sourceTree = "<group>"; };
190188
490314791F0C2EA600499354 /* BFSystemSound.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFSystemSound.swift; sourceTree = "<group>"; };
191189
4903147A1F0C2EA600499354 /* BFTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFTextField.swift; sourceTree = "<group>"; };
192-
4903147B1F0C2EA600499354 /* BFTouchID.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFTouchID.swift; sourceTree = "<group>"; };
193190
4903147D1F0C2EA600499354 /* FileManager+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FileManager+Extensions.swift"; sourceTree = "<group>"; };
194191
4903147E1F0C2EA600499354 /* NSAttributedString+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSAttributedString+Extensions.swift"; sourceTree = "<group>"; };
195192
4903147F1F0C2EA600499354 /* NSPointerArray+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSPointerArray+Extensions.swift"; sourceTree = "<group>"; };
@@ -236,7 +233,6 @@
236233
490314B21F0C2EA600499354 /* BFButtonTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFButtonTests.swift; sourceTree = "<group>"; };
237234
490314B31F0C2EA600499354 /* BFSystemSoundTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFSystemSoundTests.swift; sourceTree = "<group>"; };
238235
490314B41F0C2EA600499354 /* BFTextFieldTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFTextFieldTests.swift; sourceTree = "<group>"; };
239-
490314B51F0C2EA600499354 /* BFTouchIDTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFTouchIDTests.swift; sourceTree = "<group>"; };
240236
490314B71F0C2EA600499354 /* FileManagerExtensionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FileManagerExtensionTests.swift; sourceTree = "<group>"; };
241237
490314B81F0C2EA600499354 /* NSAttributedStringExtensionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NSAttributedStringExtensionTests.swift; sourceTree = "<group>"; };
242238
490314B91F0C2EA600499354 /* NSPointerArrayExtensionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NSPointerArrayExtensionTests.swift; sourceTree = "<group>"; };
@@ -369,7 +365,6 @@
369365
490314781F0C2EA600499354 /* BFButton.swift */,
370366
490314791F0C2EA600499354 /* BFSystemSound.swift */,
371367
4903147A1F0C2EA600499354 /* BFTextField.swift */,
372-
4903147B1F0C2EA600499354 /* BFTouchID.swift */,
373368
);
374369
path = BFKit;
375370
sourceTree = "<group>";
@@ -496,7 +491,6 @@
496491
490314B21F0C2EA600499354 /* BFButtonTests.swift */,
497492
490314B31F0C2EA600499354 /* BFSystemSoundTests.swift */,
498493
490314B41F0C2EA600499354 /* BFTextFieldTests.swift */,
499-
490314B51F0C2EA600499354 /* BFTouchIDTests.swift */,
500494
);
501495
path = BFKit;
502496
sourceTree = "<group>";
@@ -772,10 +766,11 @@
772766
};
773767
buildConfigurationList = 4971863B1D2339040032A98E /* Build configuration list for PBXProject "BFKit" */;
774768
compatibilityVersion = "Xcode 3.2";
775-
developmentRegion = English;
769+
developmentRegion = en;
776770
hasScannedForEncodings = 0;
777771
knownRegions = (
778772
en,
773+
Base,
779774
);
780775
mainGroup = 497186371D2339040032A98E;
781776
productRefGroup = 497186421D2339040032A98E /* Products */;
@@ -945,7 +940,6 @@
945940
490314FE1F0C2F4600499354 /* UIColor+Extensions.swift in Sources */,
946941
490315051F0C2F4600499354 /* UIPasteboard+Extensions.swift in Sources */,
947942
490315081F0C2F4600499354 /* UITableView+Extensions.swift in Sources */,
948-
490314F81F0C2F4000499354 /* BFTouchID.swift in Sources */,
949943
490314F41F0C2F3C00499354 /* BFPassword.swift in Sources */,
950944
490315001F0C2F4600499354 /* UIFont+Extensions.swift in Sources */,
951945
490314F71F0C2F4000499354 /* BFTextField.swift in Sources */,
@@ -1001,7 +995,6 @@
1001995
4903155A1F0C358000499354 /* BFPasswordTests.swift in Sources */,
1002996
4903154B1F0C358000499354 /* UINavigationBarExtensionTests.swift in Sources */,
1003997
490315461F0C358000499354 /* UIDeviceExtensionTests.swift in Sources */,
1004-
4903153F1F0C358000499354 /* BFTouchIDTests.swift in Sources */,
1005998
498AE657216AB1C700858554 /* CGPointTests.swift in Sources */,
1006999
490315501F0C358000499354 /* UITextFieldExtensionTests.swift in Sources */,
10071000
490315541F0C358000499354 /* UIViewExtensionTests.swift in Sources */,
@@ -1058,6 +1051,7 @@
10581051
PROVISIONING_PROFILE_SPECIFIER = "";
10591052
SDKROOT = macosx;
10601053
SKIP_INSTALL = YES;
1054+
SWIFT_VERSION = 5.0;
10611055
};
10621056
name = Debug;
10631057
};
@@ -1086,6 +1080,7 @@
10861080
PROVISIONING_PROFILE_SPECIFIER = "";
10871081
SDKROOT = macosx;
10881082
SKIP_INSTALL = YES;
1083+
SWIFT_VERSION = 5.0;
10891084
};
10901085
name = Release;
10911086
};
@@ -1107,6 +1102,7 @@
11071102
PRODUCT_NAME = "$(TARGET_NAME)";
11081103
PROVISIONING_PROFILE_SPECIFIER = "";
11091104
SDKROOT = macosx;
1105+
SWIFT_VERSION = 5.0;
11101106
};
11111107
name = Debug;
11121108
};
@@ -1128,6 +1124,7 @@
11281124
PRODUCT_NAME = "$(TARGET_NAME)";
11291125
PROVISIONING_PROFILE_SPECIFIER = "";
11301126
SDKROOT = macosx;
1127+
SWIFT_VERSION = 5.0;
11311128
};
11321129
name = Release;
11331130
};
@@ -1150,6 +1147,7 @@
11501147
PROVISIONING_PROFILE_SPECIFIER = "";
11511148
SDKROOT = watchos;
11521149
SKIP_INSTALL = YES;
1150+
SWIFT_VERSION = 5.0;
11531151
TARGETED_DEVICE_FAMILY = 4;
11541152
WATCHOS_DEPLOYMENT_TARGET = 2.0;
11551153
};
@@ -1174,6 +1172,7 @@
11741172
PROVISIONING_PROFILE_SPECIFIER = "";
11751173
SDKROOT = watchos;
11761174
SKIP_INSTALL = YES;
1175+
SWIFT_VERSION = 5.0;
11771176
TARGETED_DEVICE_FAMILY = 4;
11781177
WATCHOS_DEPLOYMENT_TARGET = 2.0;
11791178
};
@@ -1213,7 +1212,7 @@
12131212
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
12141213
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
12151214
COPY_PHASE_STRIP = NO;
1216-
CURRENT_PROJECT_VERSION = 4.1.0;
1215+
CURRENT_PROJECT_VERSION = 5.0.0;
12171216
DEBUG_INFORMATION_FORMAT = dwarf;
12181217
ENABLE_STRICT_OBJC_MSGSEND = YES;
12191218
ENABLE_TESTABILITY = YES;
@@ -1235,7 +1234,7 @@
12351234
ONLY_ACTIVE_ARCH = YES;
12361235
OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-function-bodies=100 -Xfrontend -warn-long-expression-type-checking=100";
12371236
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
1238-
SWIFT_VERSION = 4.2;
1237+
SWIFT_VERSION = 5.0;
12391238
TARGETED_DEVICE_FAMILY = "1,2";
12401239
VERSIONING_SYSTEM = "apple-generic";
12411240
VERSION_INFO_PREFIX = "";
@@ -1277,7 +1276,7 @@
12771276
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
12781277
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
12791278
COPY_PHASE_STRIP = NO;
1280-
CURRENT_PROJECT_VERSION = 4.1.0;
1279+
CURRENT_PROJECT_VERSION = 5.0.0;
12811280
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
12821281
ENABLE_NS_ASSERTIONS = NO;
12831282
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -1293,7 +1292,7 @@
12931292
MACOSX_DEPLOYMENT_TARGET = 10.10;
12941293
OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-function-bodies=100 -Xfrontend -warn-long-expression-type-checking=100";
12951294
SWIFT_COMPILATION_MODE = wholemodule;
1296-
SWIFT_VERSION = 4.2;
1295+
SWIFT_VERSION = 5.0;
12971296
TARGETED_DEVICE_FAMILY = "1,2";
12981297
VALIDATE_PRODUCT = YES;
12991298
VERSIONING_SYSTEM = "apple-generic";
@@ -1321,6 +1320,7 @@
13211320
PROVISIONING_PROFILE_SPECIFIER = "";
13221321
SDKROOT = iphoneos;
13231322
SKIP_INSTALL = YES;
1323+
SWIFT_VERSION = 5.0;
13241324
};
13251325
name = Debug;
13261326
};
@@ -1343,6 +1343,7 @@
13431343
PROVISIONING_PROFILE_SPECIFIER = "";
13441344
SDKROOT = iphoneos;
13451345
SKIP_INSTALL = YES;
1346+
SWIFT_VERSION = 5.0;
13461347
};
13471348
name = Release;
13481349
};
@@ -1357,6 +1358,7 @@
13571358
PRODUCT_BUNDLE_IDENTIFIER = com.FabrizioBrancati.BFKitTests;
13581359
PRODUCT_NAME = "$(TARGET_NAME)";
13591360
SDKROOT = iphoneos;
1361+
SWIFT_VERSION = 5.0;
13601362
};
13611363
name = Debug;
13621364
};
@@ -1371,6 +1373,7 @@
13711373
PRODUCT_BUNDLE_IDENTIFIER = com.FabrizioBrancati.BFKitTests;
13721374
PRODUCT_NAME = "$(TARGET_NAME)";
13731375
SDKROOT = iphoneos;
1376+
SWIFT_VERSION = 5.0;
13741377
};
13751378
name = Release;
13761379
};

CHANGELOG.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file.<br>
88

99
---
1010

11+
### 5.x Releases
12+
- `5.0.x` Releases - [5.0.0](#500---swift-50-support)
13+
1114
### 4.x Releases
1215
- `4.1.x` Releases - [4.1.0](#410---spend-that-money)
1316
- `4.0.x` Releases - [4.0.0](#400---swift-42-support) | [4.0.1](#401---release-it-please)
@@ -39,6 +42,29 @@ All notable changes to this project will be documented in this file.<br>
3942

4043
---
4144

45+
## [5.0.0](https://github.com/FabrizioBrancati/BFKit-Swift/releases/tag/5.0.0) - Swift 5.0 Support
46+
### 23 Apr 2019
47+
### Added
48+
- Added support to Xcode 10.2 and Swift 5.0
49+
50+
### Changed
51+
- Renamed `countSymbols()` to `countPunctuations()` in String extension, the old one has been deprecated but still valid
52+
- Changed parameter type and return type of `degreesToRadians(_:)` and `radiansToDegrees(_:)` from `Float` to `Double` in Number extension
53+
- Changed parameter type of `rotate(radians:)` and `rotate(degrees:)` from `Float` to `Double` in UIImage extension
54+
- Changed `search(_:)` function in List struct that now returns `Int` instead of `Int?` by returning `-1` instead of `nil` if the `Element` is not found
55+
- Changed BFLog messages from emojis to `[ERROR]`, `[WARNING]`, `[DEBUG]` and `[INFO]`
56+
- Changed the behavior of Calendar instances in Date extension on Linux
57+
58+
### Improved
59+
- Improved `count*` chars functions in String extension
60+
- Improved build performance
61+
- Updated SwiftLint to 0.31.0
62+
63+
### Removed
64+
- Removed all the deprecated functions and variables
65+
66+
---
67+
4268
## [4.1.0](https://github.com/FabrizioBrancati/BFKit-Swift/releases/tag/4.1.0) - Spend That Money
4369
### 03 Feb 2019
4470
### Added
@@ -55,13 +81,13 @@ Thanks to [@gennick](https://github.com/gennick) for this release
5581
- Added new iPad Pro 11-inch and 12.9-inch in UIDevice extension
5682
- Added missing CoreGraphics files to CocoaPods
5783

58-
### Removed
59-
- Removed watchOS 2.0 support in favor of watchOS 3.0, thanks to an App Store submission bug [#11](https://github.com/FabrizioBrancati/BFKit-Swift/issues/11)
60-
6184
### Improved
6285
- Improved settings reading and saving in FileManager extension
6386
- Updated SwiftLint to 0.29.2
6487

88+
### Removed
89+
- Removed watchOS 2.0 support in favor of watchOS 3.0, thanks to an App Store submission bug [#11](https://github.com/FabrizioBrancati/BFKit-Swift/issues/11)
90+
6591
---
6692

6793
## [4.0.0](https://github.com/FabrizioBrancati/BFKit-Swift/releases/tag/4.0.0) - Swift 4.2 Support

0 commit comments

Comments
 (0)