Skip to content

Commit 490421d

Browse files
authored
Merge pull request #57 from thefuntasty/feature/swift-5.0
Swift 5.0
2 parents 949a305 + 4ff649b commit 490421d

File tree

11 files changed

+39
-902
lines changed

11 files changed

+39
-902
lines changed

Configs/FuntastyKit.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.2.0</string>
18+
<string>1.4.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

FuntastyKit.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "FuntastyKit"
3-
s.version = "1.3.0"
3+
s.version = "1.4.0"
44
s.summary = "A collection of Swift utilities and protocols used in our projects."
55
s.description = <<-DESC
66
MVVM-C architecture, service holder for code injection of services
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.author = { "Matěj K. Jirásek" => "[email protected]" }
1313
s.social_media_url = "https://twitter.com/TheFuntasty"
1414
s.platform = :ios, "9.0"
15-
s.swift_version = "4.2"
15+
s.swift_version = "5.0"
1616
s.source = { :git => "https://github.com/thefuntasty/FuntastyKit.git", :tag => s.version.to_s }
1717
s.source_files = "Sources/**/*"
1818
s.frameworks = "Foundation", "UIKit"

FuntastyKit.xcodeproj/project.pbxproj

Lines changed: 25 additions & 610 deletions
Large diffs are not rendered by default.

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

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

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

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

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

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

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1010"
3+
LastUpgradeVersion = "1020"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -16,7 +16,7 @@
1616
BuildableIdentifier = "primary"
1717
BlueprintIdentifier = "52D6D97B1BEFF229002C0205"
1818
BuildableName = "FuntastyKit.framework"
19-
BlueprintName = "FuntastyKit-iOS"
19+
BlueprintName = "FuntastyKit"
2020
ReferencedContainer = "container:FuntastyKit.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
@@ -33,8 +33,8 @@
3333
<BuildableReference
3434
BuildableIdentifier = "primary"
3535
BlueprintIdentifier = "52D6D9851BEFF229002C0205"
36-
BuildableName = "FuntastyKit-iOS Tests.xctest"
37-
BlueprintName = "FuntastyKit-iOS Tests"
36+
BuildableName = "FuntastyKit Tests.xctest"
37+
BlueprintName = "FuntastyKit Tests"
3838
ReferencedContainer = "container:FuntastyKit.xcodeproj">
3939
</BuildableReference>
4040
</TestableReference>
@@ -44,7 +44,7 @@
4444
BuildableIdentifier = "primary"
4545
BlueprintIdentifier = "52D6D97B1BEFF229002C0205"
4646
BuildableName = "FuntastyKit.framework"
47-
BlueprintName = "FuntastyKit-iOS"
47+
BlueprintName = "FuntastyKit"
4848
ReferencedContainer = "container:FuntastyKit.xcodeproj">
4949
</BuildableReference>
5050
</MacroExpansion>
@@ -66,7 +66,7 @@
6666
BuildableIdentifier = "primary"
6767
BlueprintIdentifier = "52D6D97B1BEFF229002C0205"
6868
BuildableName = "FuntastyKit.framework"
69-
BlueprintName = "FuntastyKit-iOS"
69+
BlueprintName = "FuntastyKit"
7070
ReferencedContainer = "container:FuntastyKit.xcodeproj">
7171
</BuildableReference>
7272
</MacroExpansion>
@@ -84,7 +84,7 @@
8484
BuildableIdentifier = "primary"
8585
BlueprintIdentifier = "52D6D97B1BEFF229002C0205"
8686
BuildableName = "FuntastyKit.framework"
87-
BlueprintName = "FuntastyKit-iOS"
87+
BlueprintName = "FuntastyKit"
8888
ReferencedContainer = "container:FuntastyKit.xcodeproj">
8989
</BuildableReference>
9090
</MacroExpansion>

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016 The FUNTASTY
3+
Copyright (c) 2019 FUNTASTY Digital s.r.o.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Sources/Architecture/Coordinator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public extension TabBarItemCoordinator {
156156
}
157157

158158
var mutableViewControllers = viewControllers
159-
if let index = mutableViewControllers.index(of: destinationNavigationController ?? viewController) {
159+
if let index = mutableViewControllers.firstIndex(of: destinationNavigationController ?? viewController) {
160160
mutableViewControllers.remove(at: index)
161161
}
162162

Sources/FuntastyKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* FuntastyKit
33
*
4-
* Copyright (c) 2016 Petr Zvonicek. Licensed under the MIT license, as follows:
4+
* Copyright (c) 2019 FUNTASTY Digital s.r.o. Licensed under the MIT license, as follows:
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)