diff --git a/YachtTimer/YachtTimer.xcodeproj/project.pbxproj b/YachtTimer/YachtTimer.xcodeproj/project.pbxproj index 1742981..0b5d986 100644 --- a/YachtTimer/YachtTimer.xcodeproj/project.pbxproj +++ b/YachtTimer/YachtTimer.xcodeproj/project.pbxproj @@ -362,7 +362,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0900; + LastUpgradeCheck = 1010; ORGANIZATIONNAME = "Szamódy Zs. Balázs"; TargetAttributes = { 601735541F17369300713DF1 = { @@ -560,6 +560,7 @@ 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_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -567,6 +568,7 @@ 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; @@ -616,6 +618,7 @@ 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_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -623,6 +626,7 @@ 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/YachtTimer/YachtTimer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/YachtTimer/YachtTimer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/YachtTimer/YachtTimer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/YachtTimer/YachtTimer/ViewController.swift b/YachtTimer/YachtTimer/ViewController.swift index e09960f..87d5b90 100644 --- a/YachtTimer/YachtTimer/ViewController.swift +++ b/YachtTimer/YachtTimer/ViewController.swift @@ -150,6 +150,7 @@ extension ViewController: TimerManager { stopTimer(timer) counter = counterReference if let stopWatchVC = self.tabBarController?.viewControllers?[1] as? StopwatchViewController { + stopWatchVC.loadViewIfNeeded() stopWatchVC.resetStopwatch() stopWatchVC.startDate = date stopWatchVC.lapDate = date