Skip to content

Commit f9602d6

Browse files
Merge pull request #39 from FabrizioBrancati/swift-4.2
Swift 4.2 Support
2 parents a6821cb + e7ecf5d commit f9602d6

Some content is hidden

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

52 files changed

+482
-320
lines changed

.codecov.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.slather.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
coverage_service: coveralls
2+
xcodeproj: BFKit.xcodeproj
3+
scheme: BFKit iOS
4+
ignore:
5+
- Tests/*

.swift-version

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

.travis.yml

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,60 +14,61 @@ matrix:
1414
env: SPM="YES"
1515
- os: osx
1616
language: objective-c
17-
osx_image: xcode9.4
17+
osx_image: xcode10
1818
env: SPM="YES"
1919
- os: osx
2020
language: objective-c
21-
osx_image: xcode9.4
22-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=11.4,name=iPhone X" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" CODECOV="NO" EXAMPLE="NO"
21+
osx_image: xcode10
22+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=12.0,name=iPhone X" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
2323
- os: osx
2424
language: objective-c
25-
osx_image: xcode9.4
26-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=11.1,name=iPhone 7 Plus" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" LINT="YES" CODECOV="YES" EXAMPLE="NO"
25+
osx_image: xcode10
26+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=11.4,name=iPhone 7 Plus" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" LINT="YES" COVERAGE="YES" EXAMPLE="NO"
2727
- os: osx
2828
language: objective-c
29-
osx_image: xcode9.4
30-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=10.3.1,name=iPhone 6" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" CODECOV="NO" EXAMPLE="NO"
29+
osx_image: xcode10
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"
3131
- os: osx
3232
language: objective-c
33-
osx_image: xcode9.4
34-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=9.0,name=iPhone 5s" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" CODECOV="NO" EXAMPLE="NO"
33+
osx_image: xcode10
34+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=9.0,name=iPhone 5s" SCHEME="$IOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
3535
- os: osx
3636
language: objective-c
37-
osx_image: xcode9.4
38-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=4.2,name=Apple Watch Series 3 - 42mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" CODECOV="NO" EXAMPLE="NO"
37+
osx_image: xcode10
38+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=4.2,name=Apple Watch Series 3 - 42mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
3939
- os: osx
4040
language: objective-c
41-
osx_image: xcode9.4
42-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=3.2,name=Apple Watch Series 2 - 42mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" CODECOV="NO" EXAMPLE="NO"
41+
osx_image: xcode10
42+
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"
4343
- os: osx
4444
language: objective-c
45-
osx_image: xcode9.4
46-
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=2.0,name=Apple Watch - 38mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" CODECOV="NO" EXAMPLE="NO"
45+
osx_image: xcode10
46+
env: PROJ="BFKit.xcodeproj" DESTINATION="OS=2.0,name=Apple Watch - 38mm" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
4747
- os: osx
4848
language: objective-c
49-
osx_image: xcode9.4
50-
env: PROJ="BFKit.xcodeproj" DESTINATION="arch=x86_64" SCHEME="$MACOS_SCHEME" RUN_TESTS="NO" LINT="NO" CODECOV="NO" EXAMPLE="NO"
49+
osx_image: xcode10
50+
env: PROJ="BFKit.xcodeproj" DESTINATION="arch=x86_64" SCHEME="$MACOS_SCHEME" RUN_TESTS="NO" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
5151
- os: osx
5252
language: objective-c
53-
osx_image: xcode9.4
54-
env: PROJ="BFKit.xcodeproj" DESTINATION="arch=x86_64" SCHEME="$MACOS_SCHEME" RUN_TESTS="YES" LINT="NO" CODECOV="NO" EXAMPLE="NO"
53+
osx_image: xcode10
54+
env: PROJ="BFKit.xcodeproj" DESTINATION="arch=x86_64" SCHEME="$MACOS_SCHEME" RUN_TESTS="YES" LINT="NO" COVERAGE="NO" EXAMPLE="NO"
5555
- os: osx
5656
language: objective-c
57-
osx_image: xcode9.4
58-
env: PROJ="Example/BFKitExample.xcodeproj" DESTINATION="OS=11.3,name=iPhone 7 Plus" SCHEME="$EXAMPLE_SCHEME" RUN_TESTS="NO" LINT="NO" CODECOV="NO" EXAMPLE="YES"
57+
osx_image: xcode10
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"
5959

6060
before_install:
6161
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
6262
gem install xcpretty -N --no-ri --no-rdoc;
6363
gem install cocoapods --pre --no-rdoc --no-ri --no-document;
6464
brew update;
6565
brew outdated carthage || brew upgrade carthage;
66+
gem install slather;
6667
fi
6768

6869
install:
6970
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
70-
eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)";
71+
eval "$(curl -sL https://swiftenv.fuller.li/install.sh)";
7172
fi
7273
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
7374
./install_swiftlint.sh;
@@ -106,6 +107,6 @@ script:
106107
fi
107108

108109
after_success:
109-
- if [ "$CODECOV" == "YES" ]; then
110-
bash <(curl -s https://codecov.io/bash) -X xcodeplist;
110+
- if [ "$COVERAGE" == "YES" ]; then
111+
slather;
111112
fi

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 = '3.2.1'
4+
s.version = '4.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.1'
14+
s.swift_version = '4.2'
1515

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

BFKit.xcodeproj/project.pbxproj

Lines changed: 37 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@
157157
493868041F113C2800A793F7 /* UIColorExtensionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314BD1F0C2EA600499354 /* UIColorExtensionTests.swift */; };
158158
495BD1B520EC2DDB005DF1CB /* FileManagerExtensionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 490314B71F0C2EA600499354 /* FileManagerExtensionTests.swift */; };
159159
4971864C1D2339040032A98E /* BFKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 497186411D2339040032A98E /* BFKit.framework */; };
160+
498AE652216AB08500858554 /* CGPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 498AE651216AB08500858554 /* CGPoint.swift */; };
161+
498AE653216AB08500858554 /* CGPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 498AE651216AB08500858554 /* CGPoint.swift */; };
162+
498AE654216AB08500858554 /* CGPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 498AE651216AB08500858554 /* CGPoint.swift */; };
163+
498AE657216AB1C700858554 /* CGPointTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 498AE656216AB1C700858554 /* CGPointTests.swift */; };
164+
498AE658216AB1C700858554 /* CGPointTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 498AE656216AB1C700858554 /* CGPointTests.swift */; };
160165
49B9259C1FE33218002F0F17 /* BFBiometrics.swift in Sources */ = {isa = PBXBuildFile; fileRef = 49B9259B1FE33217002F0F17 /* BFBiometrics.swift */; };
161166
49B925D71FF29296002F0F17 /* BFBiometricsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 49B925D51FF290E3002F0F17 /* BFBiometricsTests.swift */; };
162167
/* End PBXBuildFile section */
@@ -277,6 +282,8 @@
277282
49381D411EAA084C00DBFC89 /* BFKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BFKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
278283
497186411D2339040032A98E /* BFKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BFKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
279284
4971864B1D2339040032A98E /* BFKitTests iOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "BFKitTests iOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
285+
498AE651216AB08500858554 /* CGPoint.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CGPoint.swift; sourceTree = "<group>"; };
286+
498AE656216AB1C700858554 /* CGPointTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CGPointTests.swift; sourceTree = "<group>"; };
280287
49B9259B1FE33217002F0F17 /* BFBiometrics.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BFBiometrics.swift; sourceTree = "<group>"; };
281288
49B925D51FF290E3002F0F17 /* BFBiometricsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BFBiometricsTests.swift; sourceTree = "<group>"; };
282289
/* End PBXFileReference section */
@@ -347,6 +354,7 @@
347354
isa = PBXGroup;
348355
children = (
349356
490314771F0C2EA600499354 /* BFKit */,
357+
498AE655216AB0B000858554 /* CoreGraphics */,
350358
4903147C1F0C2EA600499354 /* Foundation */,
351359
490314801F0C2EA600499354 /* UIKit */,
352360
490314951F0C2EA600499354 /* WatchKit */,
@@ -474,6 +482,7 @@
474482
isa = PBXGroup;
475483
children = (
476484
490314B11F0C2EA600499354 /* BFKit */,
485+
498AE659216AB1CC00858554 /* CoreGraphics */,
477486
490314B61F0C2EA600499354 /* Foundation */,
478487
490314BA1F0C2EA600499354 /* UIKit */,
479488
);
@@ -588,6 +597,22 @@
588597
name = Products;
589598
sourceTree = "<group>";
590599
};
600+
498AE655216AB0B000858554 /* CoreGraphics */ = {
601+
isa = PBXGroup;
602+
children = (
603+
498AE651216AB08500858554 /* CGPoint.swift */,
604+
);
605+
path = CoreGraphics;
606+
sourceTree = "<group>";
607+
};
608+
498AE659216AB1CC00858554 /* CoreGraphics */ = {
609+
isa = PBXGroup;
610+
children = (
611+
498AE656216AB1C700858554 /* CGPointTests.swift */,
612+
);
613+
path = CoreGraphics;
614+
sourceTree = "<group>";
615+
};
591616
/* End PBXGroup section */
592617

593618
/* Begin PBXHeadersBuildPhase section */
@@ -751,16 +776,6 @@
751776
hasScannedForEncodings = 0;
752777
knownRegions = (
753778
en,
754-
id,
755-
it,
756-
"pt-BR",
757-
ru,
758-
sv,
759-
uk,
760-
vi,
761-
"zh-Hans",
762-
"zh-Hant",
763-
fr,
764779
);
765780
mainGroup = 497186371D2339040032A98E;
766781
productRefGroup = 497186421D2339040032A98E /* Products */;
@@ -829,6 +844,7 @@
829844
493868031F10FE0300A793F7 /* UIColor+Extensions.swift in Sources */,
830845
4903152C1F0C350F00499354 /* BFApp.swift in Sources */,
831846
490315361F0C350F00499354 /* NSObject+Extensions.swift in Sources */,
847+
498AE653216AB08500858554 /* CGPoint.swift in Sources */,
832848
490315391F0C350F00499354 /* Set+Extensions.swift in Sources */,
833849
4903152D1F0C350F00499354 /* BFDataStructures.swift in Sources */,
834850
490315341F0C350F00499354 /* Date+Extensions.swift in Sources */,
@@ -856,6 +872,7 @@
856872
4903156D1F0C358600499354 /* DateExtensionTests.swift in Sources */,
857873
4903156B1F0C358600499354 /* CollectionExtensionTests.swift in Sources */,
858874
4903156E1F0C358600499354 /* DictionaryExtensionTests.swift in Sources */,
875+
498AE658216AB1C700858554 /* CGPointTests.swift in Sources */,
859876
4903156C1F0C358600499354 /* DataExtensionTests.swift in Sources */,
860877
490315721F0C358600499354 /* SetExtensionTests.swift in Sources */,
861878
490315671F0C358600499354 /* BFDataStructuresTests.swift in Sources */,
@@ -874,6 +891,7 @@
874891
490315161F0C31AD00499354 /* Collection+Extensions.swift in Sources */,
875892
4903151E1F0C31AD00499354 /* String+Extensions.swift in Sources */,
876893
4903151C1F0C31AD00499354 /* ProcessInfo+Extensions.swift in Sources */,
894+
498AE654216AB08500858554 /* CGPoint.swift in Sources */,
877895
4903151B1F0C31AD00499354 /* Number+Extensions.swift in Sources */,
878896
490315201F0C31B000499354 /* FileManager+Extensions.swift in Sources */,
879897
4903151F1F0C31AD00499354 /* Thread+Extensions.swift in Sources */,
@@ -913,6 +931,7 @@
913931
49B9259C1FE33218002F0F17 /* BFBiometrics.swift in Sources */,
914932
4903150B1F0C2F4600499354 /* UIToolbar+Extensions.swift in Sources */,
915933
490315041F0C2F4600499354 /* UINavigationBar+Extensions.swift in Sources */,
934+
498AE652216AB08500858554 /* CGPoint.swift in Sources */,
916935
490314E71F0C2F2000499354 /* Date+Extensions.swift in Sources */,
917936
490315071F0C2F4600499354 /* UIScrollView+Extensions.swift in Sources */,
918937
490314E81F0C2F2000499354 /* Dictionary+Extensions.swift in Sources */,
@@ -983,6 +1002,7 @@
9831002
4903154B1F0C358000499354 /* UINavigationBarExtensionTests.swift in Sources */,
9841003
490315461F0C358000499354 /* UIDeviceExtensionTests.swift in Sources */,
9851004
4903153F1F0C358000499354 /* BFTouchIDTests.swift in Sources */,
1005+
498AE657216AB1C700858554 /* CGPointTests.swift in Sources */,
9861006
490315501F0C358000499354 /* UITextFieldExtensionTests.swift in Sources */,
9871007
490315541F0C358000499354 /* UIViewExtensionTests.swift in Sources */,
9881008
4903154A1F0C358000499354 /* UILabelExtensionTests.swift in Sources */,
@@ -1087,7 +1107,6 @@
10871107
PRODUCT_NAME = "$(TARGET_NAME)";
10881108
PROVISIONING_PROFILE_SPECIFIER = "";
10891109
SDKROOT = macosx;
1090-
SWIFT_VERSION = 4.0;
10911110
};
10921111
name = Debug;
10931112
};
@@ -1109,7 +1128,6 @@
11091128
PRODUCT_NAME = "$(TARGET_NAME)";
11101129
PROVISIONING_PROFILE_SPECIFIER = "";
11111130
SDKROOT = macosx;
1112-
SWIFT_VERSION = 4.0;
11131131
};
11141132
name = Release;
11151133
};
@@ -1195,13 +1213,12 @@
11951213
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
11961214
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
11971215
COPY_PHASE_STRIP = NO;
1198-
CURRENT_PROJECT_VERSION = 3.2.1;
1216+
CURRENT_PROJECT_VERSION = 4.0.0;
11991217
DEBUG_INFORMATION_FORMAT = dwarf;
12001218
ENABLE_STRICT_OBJC_MSGSEND = YES;
12011219
ENABLE_TESTABILITY = YES;
12021220
GCC_DYNAMIC_NO_PIC = NO;
12031221
GCC_NO_COMMON_BLOCKS = YES;
1204-
GCC_OPTIMIZATION_LEVEL = 0;
12051222
GCC_PREPROCESSOR_DEFINITIONS = (
12061223
"DEBUG=1",
12071224
"$(inherited)",
@@ -1216,9 +1233,9 @@
12161233
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
12171234
MACOSX_DEPLOYMENT_TARGET = 10.10;
12181235
ONLY_ACTIVE_ARCH = YES;
1236+
OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-function-bodies=100 -Xfrontend -warn-long-expression-type-checking=100";
12191237
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
1220-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1221-
SWIFT_VERSION = 4.0;
1238+
SWIFT_VERSION = 4.2;
12221239
TARGETED_DEVICE_FAMILY = "1,2";
12231240
VERSIONING_SYSTEM = "apple-generic";
12241241
VERSION_INFO_PREFIX = "";
@@ -1260,7 +1277,7 @@
12601277
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
12611278
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
12621279
COPY_PHASE_STRIP = NO;
1263-
CURRENT_PROJECT_VERSION = 3.2.1;
1280+
CURRENT_PROJECT_VERSION = 4.0.0;
12641281
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
12651282
ENABLE_NS_ASSERTIONS = NO;
12661283
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -1274,8 +1291,9 @@
12741291
GCC_WARN_UNUSED_VARIABLE = YES;
12751292
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
12761293
MACOSX_DEPLOYMENT_TARGET = 10.10;
1277-
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
1278-
SWIFT_VERSION = 4.0;
1294+
OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-function-bodies=100 -Xfrontend -warn-long-expression-type-checking=100";
1295+
SWIFT_COMPILATION_MODE = wholemodule;
1296+
SWIFT_VERSION = 4.2;
12791297
TARGETED_DEVICE_FAMILY = "1,2";
12801298
VALIDATE_PRODUCT = YES;
12811299
VERSIONING_SYSTEM = "apple-generic";
@@ -1303,7 +1321,6 @@
13031321
PROVISIONING_PROFILE_SPECIFIER = "";
13041322
SDKROOT = iphoneos;
13051323
SKIP_INSTALL = YES;
1306-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
13071324
};
13081325
name = Debug;
13091326
};
@@ -1340,8 +1357,6 @@
13401357
PRODUCT_BUNDLE_IDENTIFIER = com.FabrizioBrancati.BFKitTests;
13411358
PRODUCT_NAME = "$(TARGET_NAME)";
13421359
SDKROOT = iphoneos;
1343-
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
1344-
SWIFT_VERSION = 4.0;
13451360
};
13461361
name = Debug;
13471362
};
@@ -1356,8 +1371,6 @@
13561371
PRODUCT_BUNDLE_IDENTIFIER = com.FabrizioBrancati.BFKitTests;
13571372
PRODUCT_NAME = "$(TARGET_NAME)";
13581373
SDKROOT = iphoneos;
1359-
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
1360-
SWIFT_VERSION = 4.0;
13611374
};
13621375
name = Release;
13631376
};

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+
### 4.x Releases
12+
- `4.0.x` Releases - [4.0.0](#400---swift-42-support)
13+
1114
### 3.x Releases
1215
- `3.2.x` Releases - [3.2.0](#320---big-improvements) | [3.2.1](#321---that-corner-radius)
1316
- `3.1.x` Releases - [3.1.0](#310---face-id-support) | [3.1.1](#311---some-improvements) | [3.1.2](#311---swift-41-support)
@@ -35,6 +38,29 @@ All notable changes to this project will be documented in this file.<br>
3538

3639
---
3740

41+
## [4.0.0](https://github.com/FabrizioBrancati/Queuer/releases/tag/4.0.0) - Swift 4.2 Support
42+
### 11 Oct 2018
43+
### Added
44+
- Added support to Xcode 10 and Swift 4.2
45+
- Added `localized` and `numberValue` variables in String extension
46+
- Added `queryStringParameter(parameter:)`, `queryDictionary()` and `urlValid()` functions in String extension
47+
48+
### Changed
49+
- BFTouchID is deprecated and will be removed in a future version of BFKit-Swift. Please use BFBiometrics enum instead
50+
- `lightFont` in UIFont extension is deprecated and will be removed in a future version of BFKit-Swift
51+
- `regularFont` in UIFont extension is deprecated and will be removed in a future version of BFKit-Swift
52+
- `boldFont` in UIFont extension is deprecated and will be removed in a future version of BFKit-Swift
53+
- All random functions in Number extension are deprecated and will be removed in a future version of BFKit-Swift
54+
- Changed from Codecov to Coveralls service for code coverage
55+
56+
### Improved
57+
- Updated package tools version to 4.2
58+
59+
### Fixed
60+
- Now `.applicationSupport` case available in `PathType` enum in `FileManager` extension fully works, even if Application Support folder doesn't exist
61+
62+
---
63+
3864
## [3.2.1](https://github.com/FabrizioBrancati/Queuer/releases/tag/3.2.1) - That Corner Radius
3965
### 14 Sep 2018
4066
### Improved
@@ -124,7 +150,7 @@ Thanks to [@tomasz-czyzak](https://github.com/tomasz-czyzak) for this release
124150
- Now `gradient(colors:, direction:)` returns a `CAGradientLayer` as a `@discardableResult`, so no changes are required
125151

126152
### Fixed
127-
- Fixed a bug on `substring(to:)` function on String extension [#32](https://github.com/FabrizioBrancati/BFKit-Swift/issue/32)
153+
- Fixed a bug on `substring(to:)` function on String extension [#32](https://github.com/FabrizioBrancati/BFKit-Swift/issues/32)
128154
- Fixed non designable `UIView`s
129155

130156
### Changed
@@ -216,10 +242,10 @@ Thanks to [@wdcurry](https://github.com/wdcurry) for this release
216242
- Updated with Swift 3.1 compatibility
217243
- Updated SwiftLint to 0.18.1
218244
- Improved tests
219-
- `mainBundlePath` in FileManager extension will now return the main bundle path if no file is specified [#27](https://github.com/FabrizioBrancati/BFKit-Swift/issue/27)
245+
- `mainBundlePath` in FileManager extension will now return the main bundle path if no file is specified [#27](https://github.com/FabrizioBrancati/BFKit-Swift/issues/27)
220246

221247
### Fixed
222-
- Fixed an issue with `randomInt()` function in Number extension [#26](https://github.com/FabrizioBrancati/BFKit-Swift/issue/26)
248+
- Fixed an issue with `randomInt()` function in Number extension [#26](https://github.com/FabrizioBrancati/BFKit-Swift/issues/26)
223249

224250
Thanks to [@on123](https://github.com/on123) & [@jiongge](https://github.com/jiongge) for this release
225251

0 commit comments

Comments
 (0)