Skip to content

Commit 949a305

Browse files
authored
Merge pull request #62 from thefuntasty/1.3.0
Release v1.3.0
2 parents 8b2f346 + 9bc0ecd commit 949a305

File tree

7 files changed

+19
-18
lines changed

7 files changed

+19
-18
lines changed

FuntastyKit.podspec

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
Pod::Spec.new do |s|
22
s.name = "FuntastyKit"
3-
s.version = "1.2.1"
3+
s.version = "1.3.0"
44
s.summary = "A collection of Swift utilities and protocols used in our projects."
55
s.description = <<-DESC
6-
A collection of Swift utilities and protocols used in our projects.
6+
MVVM-C architecture, service holder for code injection of services
7+
some regularly used UIKit extensions, protocols for simple initialization from XIB files,
8+
storyboards and for handling keyboard, hairline and keyboard height constraints
79
DESC
810
s.homepage = "https://github.com/thefuntasty/FuntastyKit"
911
s.license = { :type => "MIT", :file => "LICENSE" }
10-
s.author = { "Petr Zvonicek" => "" }
12+
s.author = { "Matěj K. Jirásek" => "[email protected]" }
1113
s.social_media_url = "https://twitter.com/TheFuntasty"
12-
s.ios.deployment_target = "9.0"
13-
s.osx.deployment_target = "10.9"
14-
s.watchos.deployment_target = "2.0"
15-
s.tvos.deployment_target = "9.0"
14+
s.platform = :ios, "9.0"
15+
s.swift_version = "4.2"
1616
s.source = { :git => "https://github.com/thefuntasty/FuntastyKit.git", :tag => s.version.to_s }
1717
s.source_files = "Sources/**/*"
18-
s.frameworks = "Foundation"
18+
s.frameworks = "Foundation", "UIKit"
1919
end

FuntastyKit.xcodeproj/project.pbxproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
isa = PBXProject;
438438
attributes = {
439439
LastSwiftUpdateCheck = 0720;
440-
LastUpgradeCheck = 0930;
440+
LastUpgradeCheck = 1010;
441441
ORGANIZATIONNAME = "The Funtasty";
442442
TargetAttributes = {
443443
52D6D97B1BEFF229002C0205 = {
@@ -450,7 +450,7 @@
450450
};
451451
52D6D9E11BEFFF6E002C0205 = {
452452
CreatedOnToolsVersion = 7.1;
453-
LastSwiftMigration = 0800;
453+
LastSwiftMigration = 1010;
454454
};
455455
52D6D9EF1BEFFFBE002C0205 = {
456456
CreatedOnToolsVersion = 7.1;
@@ -803,6 +803,7 @@
803803
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
804804
MTL_ENABLE_DEBUG_INFO = NO;
805805
SDKROOT = iphoneos;
806+
SWIFT_COMPILATION_MODE = wholemodule;
806807
SWIFT_VERSION = 3.0;
807808
TARGETED_DEVICE_FAMILY = "1,2";
808809
VALIDATE_PRODUCT = YES;
@@ -895,7 +896,7 @@
895896
PRODUCT_NAME = FuntastyKit;
896897
SDKROOT = watchos;
897898
SKIP_INSTALL = YES;
898-
SWIFT_VERSION = 4.0;
899+
SWIFT_VERSION = 4.2;
899900
TARGETED_DEVICE_FAMILY = 4;
900901
WATCHOS_DEPLOYMENT_TARGET = 2.0;
901902
};
@@ -918,7 +919,7 @@
918919
SDKROOT = watchos;
919920
SKIP_INSTALL = YES;
920921
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
921-
SWIFT_VERSION = 4.0;
922+
SWIFT_VERSION = 4.2;
922923
TARGETED_DEVICE_FAMILY = 4;
923924
WATCHOS_DEPLOYMENT_TARGET = 2.0;
924925
};

FuntastyKit.xcodeproj/xcshareddata/xcschemes/FuntastyKit-iOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0930"
3+
LastUpgradeVersion = "1010"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

FuntastyKit.xcodeproj/xcshareddata/xcschemes/FuntastyKit-macOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0930"
3+
LastUpgradeVersion = "1010"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

FuntastyKit.xcodeproj/xcshareddata/xcschemes/FuntastyKit-tvOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0930"
3+
LastUpgradeVersion = "1010"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

FuntastyKit.xcodeproj/xcshareddata/xcschemes/FuntastyKit-watchOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0930"
3+
LastUpgradeVersion = "1010"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Sources/Errors/AlertCoordinator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public extension ErrorAction {
114114
}
115115

116116
public extension DefaultCoordinator {
117-
public func showAlert(for error: Error, preferredStyle: AlertCoordinator.Style = .alert) {
117+
func showAlert(for error: Error, preferredStyle: AlertCoordinator.Style = .alert) {
118118
guard let viewController = self.viewController else {
119119
return
120120
}
@@ -123,7 +123,7 @@ public extension DefaultCoordinator {
123123
alertCoordinator.start()
124124
}
125125

126-
public func showAlert(title: String?, message: String?, actions: [ErrorAction]? = nil, preferredStyle: AlertCoordinator.Style = .alert) {
126+
func showAlert(title: String?, message: String?, actions: [ErrorAction]? = nil, preferredStyle: AlertCoordinator.Style = .alert) {
127127
guard let viewController = self.viewController else {
128128
return
129129
}

0 commit comments

Comments
 (0)