diff --git a/FuntastyKit.podspec b/FuntastyKit.podspec
index 13d0334..9642b36 100644
--- a/FuntastyKit.podspec
+++ b/FuntastyKit.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "FuntastyKit"
- s.version = "0.1"
+ s.version = "1.1.1"
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.
diff --git a/FuntastyKit.xcodeproj/project.pbxproj b/FuntastyKit.xcodeproj/project.pbxproj
index 9b0f458..3f0c613 100644
--- a/FuntastyKit.xcodeproj/project.pbxproj
+++ b/FuntastyKit.xcodeproj/project.pbxproj
@@ -437,7 +437,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
- LastUpgradeCheck = 0920;
+ LastUpgradeCheck = 0930;
ORGANIZATIONNAME = "The Funtasty";
TargetAttributes = {
52D6D97B1BEFF229002C0205 = {
@@ -712,12 +712,14 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -769,12 +771,14 @@
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
diff --git a/FuntastyKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/FuntastyKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/FuntastyKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/FuntastyKit.xcodeproj/xcshareddata/xcschemes/FuntastyKit-iOS.xcscheme b/FuntastyKit.xcodeproj/xcshareddata/xcschemes/FuntastyKit-iOS.xcscheme
index ef1be5b..65d8dd9 100644
--- a/FuntastyKit.xcodeproj/xcshareddata/xcschemes/FuntastyKit-iOS.xcscheme
+++ b/FuntastyKit.xcodeproj/xcshareddata/xcschemes/FuntastyKit-iOS.xcscheme
@@ -1,6 +1,6 @@
@@ -37,7 +36,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
diff --git a/Sources/Architecture/Coordinator.swift b/Sources/Architecture/Coordinator.swift
index f2e6ca7..50f287b 100644
--- a/Sources/Architecture/Coordinator.swift
+++ b/Sources/Architecture/Coordinator.swift
@@ -25,10 +25,10 @@ public extension Coordinator {
public protocol DefaultCoordinator: Coordinator {
associatedtype ViewController: UIViewController
- weak var viewController: ViewController? { get }
+ var viewController: ViewController? { get }
var animated: Bool { get }
- weak var delegate: CoordinatorDelegate? { get set }
+ var delegate: CoordinatorDelegate? { get set }
}
public protocol PushCoordinator: DefaultCoordinator {
@@ -39,13 +39,13 @@ public protocol PushCoordinator: DefaultCoordinator {
public protocol ModalCoordinator: DefaultCoordinator {
func configure(viewController: ViewController)
var sourceViewController: UIViewController { get }
- weak var destinationNavigationController: UINavigationController? { get }
+ var destinationNavigationController: UINavigationController? { get }
}
public protocol TabBarItemCoordinator: DefaultCoordinator {
func configure(viewController: ViewController)
var tabBarController: UITabBarController { get }
- weak var destinationNavigationController: UINavigationController? { get }
+ var destinationNavigationController: UINavigationController? { get }
}
public enum PresentationStyle {
@@ -57,7 +57,7 @@ public protocol PushModalCoordinator: DefaultCoordinator {
func configure(controller: ViewController)
var navigationController: UINavigationController? { get }
var presentationStyle: PresentationStyle { get }
- weak var destinationNavigationController: UINavigationController? { get }
+ var destinationNavigationController: UINavigationController? { get }
}
public extension DefaultCoordinator {
@@ -67,7 +67,7 @@ public extension DefaultCoordinator {
}
// default implementation of nil delegate, should be overriden when needed
- weak var delegate: CoordinatorDelegate? {
+ var delegate: CoordinatorDelegate? {
get {
return nil
}