diff options
author | Robert M. Ryan <robert.ryan@mindspring.com> | 2015-10-30 06:22:06 +0300 |
---|---|---|
committer | Robert M. Ryan <robert.ryan@mindspring.com> | 2015-10-30 06:22:06 +0300 |
commit | d2e1b514127547d7c5a62c5aeb25dd24b18e9501 (patch) | |
tree | 9d4892734d88d75c6b4e3134dec1403fb93bf62b /fmdb.xcodeproj | |
parent | b6f7a7d9314f5a3f7df28eb3061ecc3c33559cc7 (diff) |
Add renditions of executeQuery and executeUpdate that throw errors in Swift
These renditions are `executeQuery:values:error:` and `executeUpdate:values:error:`.
Updated README, which has Swift 2 example, accordingly.
Diffstat (limited to 'fmdb.xcodeproj')
-rw-r--r-- | fmdb.xcodeproj/project.pbxproj | 15 | ||||
-rw-r--r-- | fmdb.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme | 13 |
2 files changed, 18 insertions, 10 deletions
diff --git a/fmdb.xcodeproj/project.pbxproj b/fmdb.xcodeproj/project.pbxproj index 37772d8..89d0700 100644 --- a/fmdb.xcodeproj/project.pbxproj +++ b/fmdb.xcodeproj/project.pbxproj @@ -436,7 +436,7 @@ 08FB7793FE84155DC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0610; + LastUpgradeCheck = 0710; TargetAttributes = { BF5D041518416BB2008C5AA9 = { TestTargetID = EE4290EE12B42F870088BD94; @@ -608,7 +608,9 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; @@ -620,7 +622,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx10.9; + SDKROOT = macosx; }; name = Debug; }; @@ -636,13 +638,14 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - SDKROOT = macosx10.9; + SDKROOT = macosx; }; name = Release; }; @@ -737,8 +740,9 @@ INFOPLIST_FILE = "Tests/Tests-Info.plist"; MACOSX_DEPLOYMENT_TARGET = 10.8; ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "me.grahamdennis.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx10.9; + SDKROOT = macosx; WRAPPER_EXTENSION = xctest; }; name = Debug; @@ -772,8 +776,9 @@ GCC_WARN_UNUSED_FUNCTION = YES; INFOPLIST_FILE = "Tests/Tests-Info.plist"; MACOSX_DEPLOYMENT_TARGET = 10.8; + PRODUCT_BUNDLE_IDENTIFIER = "me.grahamdennis.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx10.9; + SDKROOT = macosx; WRAPPER_EXTENSION = xctest; }; name = Release; diff --git a/fmdb.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme b/fmdb.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme index 23ed8cf..754abff 100644 --- a/fmdb.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme +++ b/fmdb.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <Scheme - LastUpgradeVersion = "0630" + LastUpgradeVersion = "0710" version = "1.3"> <BuildAction parallelizeBuildables = "YES" @@ -23,10 +23,10 @@ </BuildActionEntries> </BuildAction> <TestAction + buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Debug"> + shouldUseLaunchSchemeArgsEnv = "YES"> <Testables> <TestableReference skipped = "NO"> @@ -48,15 +48,18 @@ ReferencedContainer = "container:fmdb.xcodeproj"> </BuildableReference> </MacroExpansion> + <AdditionalOptions> + </AdditionalOptions> </TestAction> <LaunchAction + buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" launchStyle = "0" useCustomWorkingDirectory = "NO" - buildConfiguration = "Debug" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" + debugServiceExtension = "internal" allowLocationSimulation = "YES"> <MacroExpansion> <BuildableReference @@ -71,10 +74,10 @@ </AdditionalOptions> </LaunchAction> <ProfileAction + buildConfiguration = "Release" shouldUseLaunchSchemeArgsEnv = "YES" savedToolIdentifier = "" useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" debugDocumentVersioning = "YES"> <MacroExpansion> <BuildableReference |