Skip to content

Commit

Permalink
Merge pull request #62 from thefuntasty/1.3.0
Browse files Browse the repository at this point in the history
Release v1.3.0
  • Loading branch information
mkj-is authored Mar 18, 2019
2 parents 8b2f346 + 9bc0ecd commit 949a305
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 18 deletions.
16 changes: 8 additions & 8 deletions FuntastyKit.podspec
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Pod::Spec.new do |s|
s.name = "FuntastyKit"
s.version = "1.2.1"
s.version = "1.3.0"
s.summary = "A collection of Swift utilities and protocols used in our projects."
s.description = <<-DESC
A collection of Swift utilities and protocols used in our projects.
MVVM-C architecture, service holder for code injection of services
some regularly used UIKit extensions, protocols for simple initialization from XIB files,
storyboards and for handling keyboard, hairline and keyboard height constraints
DESC
s.homepage = "https://github.com/thefuntasty/FuntastyKit"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Petr Zvonicek" => "" }
s.author = { "Matěj K. Jirásek" => "[email protected]" }
s.social_media_url = "https://twitter.com/TheFuntasty"
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.9"
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
s.platform = :ios, "9.0"
s.swift_version = "4.2"
s.source = { :git => "https://github.com/thefuntasty/FuntastyKit.git", :tag => s.version.to_s }
s.source_files = "Sources/**/*"
s.frameworks = "Foundation"
s.frameworks = "Foundation", "UIKit"
end
9 changes: 5 additions & 4 deletions FuntastyKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0930;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = "The Funtasty";
TargetAttributes = {
52D6D97B1BEFF229002C0205 = {
Expand All @@ -450,7 +450,7 @@
};
52D6D9E11BEFFF6E002C0205 = {
CreatedOnToolsVersion = 7.1;
LastSwiftMigration = 0800;
LastSwiftMigration = 1010;
};
52D6D9EF1BEFFFBE002C0205 = {
CreatedOnToolsVersion = 7.1;
Expand Down Expand Up @@ -803,6 +803,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
Expand Down Expand Up @@ -895,7 +896,7 @@
PRODUCT_NAME = FuntastyKit;
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
Expand All @@ -918,7 +919,7 @@
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
4 changes: 2 additions & 2 deletions Sources/Errors/AlertCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public extension ErrorAction {
}

public extension DefaultCoordinator {
public func showAlert(for error: Error, preferredStyle: AlertCoordinator.Style = .alert) {
func showAlert(for error: Error, preferredStyle: AlertCoordinator.Style = .alert) {
guard let viewController = self.viewController else {
return
}
Expand All @@ -123,7 +123,7 @@ public extension DefaultCoordinator {
alertCoordinator.start()
}

public func showAlert(title: String?, message: String?, actions: [ErrorAction]? = nil, preferredStyle: AlertCoordinator.Style = .alert) {
func showAlert(title: String?, message: String?, actions: [ErrorAction]? = nil, preferredStyle: AlertCoordinator.Style = .alert) {
guard let viewController = self.viewController else {
return
}
Expand Down

0 comments on commit 949a305

Please sign in to comment.