diff --git a/Examples/ReactionsExample.xcodeproj/project.pbxproj b/Examples/ReactionsExample.xcodeproj/project.pbxproj index 8d63220..ef5d111 100644 --- a/Examples/ReactionsExample.xcodeproj/project.pbxproj +++ b/Examples/ReactionsExample.xcodeproj/project.pbxproj @@ -391,7 +391,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0800; - LastUpgradeCheck = 0900; + LastUpgradeCheck = 0930; ORGANIZATIONNAME = "Yannick Loriot"; TargetAttributes = { CE83F8891DA8F033000943AB = { @@ -689,7 +689,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.ReactionsTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactionsExample.app/ReactionsExample"; }; name = Debug; @@ -705,7 +705,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.yannickloriot.ReactionsTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactionsExample.app/ReactionsExample"; }; name = Release; @@ -724,6 +724,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; @@ -731,6 +732,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; @@ -782,6 +784,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; @@ -789,6 +792,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/Examples/ReactionsExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Examples/ReactionsExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Examples/ReactionsExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Examples/ReactionsExample.xcodeproj/xcshareddata/xcschemes/Reactions.xcscheme b/Examples/ReactionsExample.xcodeproj/xcshareddata/xcschemes/Reactions.xcscheme index 26e3c53..40e598e 100644 --- a/Examples/ReactionsExample.xcodeproj/xcshareddata/xcschemes/Reactions.xcscheme +++ b/Examples/ReactionsExample.xcodeproj/xcshareddata/xcschemes/Reactions.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/Examples/ReactionsExample.xcodeproj/xcshareddata/xcschemes/ReactionsTests.xcscheme b/Examples/ReactionsExample.xcodeproj/xcshareddata/xcschemes/ReactionsTests.xcscheme index 8a5891c..2561cdc 100644 --- a/Examples/ReactionsExample.xcodeproj/xcshareddata/xcschemes/ReactionsTests.xcscheme +++ b/Examples/ReactionsExample.xcodeproj/xcshareddata/xcschemes/ReactionsTests.xcscheme @@ -1,6 +1,6 @@ + codeCoverageEnabled = "YES" + shouldUseLaunchSchemeArgsEnv = "YES"> @@ -32,7 +31,6 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" diff --git a/Tests/ReactionButtonTests.swift b/Tests/ReactionButtonTests.swift index 91f7cce..04faa2e 100644 --- a/Tests/ReactionButtonTests.swift +++ b/Tests/ReactionButtonTests.swift @@ -184,7 +184,7 @@ class ReactionButtonTests: XCTestCase { return currentState } - private override func location(in view: UIView?) -> CGPoint { + override func location(in view: UIView?) -> CGPoint { return CGPoint(x: 10, y: 10) } }