Skip to content

Commit 1385abf

Browse files
authored
ParseObject's now conform to Identifiable (#254)
* ParseObject's now conform to Identifiable * ignore variable name length * Update podspec * nit readme * Change version to 2.0.0 * Reduce codecov patch for now * Switch back to old codecov for Xcode * Create lcov files for codecov * export codecov file * Fix env variable * fix env var for iOS * Remove LocallyIdentifiable protocol that acted as Identifiable * remove extra pod lint because it's completed twice * Add delete keychain option to SDK init * Don't run new test on Linux * Don't run new method on Linux * Don't compile new keychain method on Linux
1 parent 85366e6 commit 1385abf

File tree

72 files changed

+184
-229
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+184
-229
lines changed

Diff for: .codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ coverage:
44
status:
55
patch:
66
default:
7-
target: auto
7+
target: 0
88
changes: false
99
project:
1010
default:

Diff for: .github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift\ \(iOS\) -destination platform\=iOS\ Simulator,name\=iPhone\ 12\ Pro\ Max -derivedDataPath DerivedData test | xcpretty
2222
env:
2323
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
24+
- name: Prepare codecov
25+
run: |
26+
XCTEST=$(find DerivedData -type f -name 'ParseSwiftTests')
27+
PROFDATA=$(find DerivedData -type f -name '*.profdata')
28+
xcrun llvm-cov export "${XCTEST}" -format="lcov" -instr-profile "${PROFDATA}" > info.lcov
29+
env:
30+
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
2431
- name: Upload coverage to Codecov
2532
uses: codecov/codecov-action@v2
2633
with:
@@ -43,6 +50,13 @@ jobs:
4350
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift\ \(macOS\) -destination platform\=macOS -derivedDataPath DerivedData test | xcpretty
4451
env:
4552
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
53+
- name: Prepare codecov
54+
run: |
55+
XCTEST=$(find DerivedData -type f -name 'ParseSwiftTestsmacOS')
56+
PROFDATA=$(find DerivedData -type f -name '*.profdata')
57+
xcrun llvm-cov export "${XCTEST}" -format="lcov" -instr-profile "${PROFDATA}" > info.lcov
58+
env:
59+
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
4660
- name: Upload coverage to Codecov
4761
uses: codecov/codecov-action@v2
4862
with:
@@ -58,6 +72,13 @@ jobs:
5872
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift\ \(tvOS\) -destination platform\=tvOS\ Simulator,name\=Apple\ TV -derivedDataPath DerivedData test | xcpretty
5973
env:
6074
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
75+
- name: Prepare codecov
76+
run: |
77+
XCTEST=$(find DerivedData -type f -name 'ParseSwiftTeststvOS')
78+
PROFDATA=$(find DerivedData -type f -name '*.profdata')
79+
xcrun llvm-cov export "${XCTEST}" -format="lcov" -instr-profile "${PROFDATA}" > info.lcov
80+
env:
81+
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
6182
- name: Upload coverage to Codecov
6283
uses: codecov/codecov-action@v2
6384
with:

Diff for: .github/workflows/release.yml

-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
1717
run: ./Scripts/update_build
1818
env:
1919
BUILD_VERSION: ${{ env.TAG }}
20-
- name: CocoaPods
21-
run: set -o pipefail && env NSUnbufferedIO=YES pod lib lint --allow-warnings --verbose
22-
env:
23-
DEVELOPER_DIR: ${{ env.CI_XCODE_13 }}
2420
- name: Deploy CocoaPods
2521
run: set -o pipefail && env NSUnbufferedIO=YES pod trunk push ParseSwift.podspec --allow-warnings --verbose
2622
env:

Diff for: CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
# Parse-Swift Changelog
22

33
### main
4-
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/1.11.0...main)
4+
5+
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/2.0.0...main)
56
* _Contributing to this repo? Add info about your change here to be included in the next release_
67

8+
### 2.0.0
9+
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/1.11.0...2.0.0)
10+
11+
__New features__
12+
- Added option to delete Parse items from Keychain when the app is running for the first time ([#254](https://github.com/parse-community/Parse-Swift/pull/254)), thanks to [Corey Baker](https://github.com/cbaker6).
13+
14+
__Improvements__
15+
- (Breaking Change) ParseObject's now conform to Identifiable and can be used directly with SwiftUI without additonal properties needed. Drops support for iOS 12, tvOS 12, watchOS 5, and macOS 10.13/14 ([#254](https://github.com/parse-community/Parse-Swift/pull/254)), thanks to [Corey Baker](https://github.com/cbaker6).
16+
717
### 1.11.0
818
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/1.10.4...1.11.0)
919

Diff for: Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PackageDescription
44

55
let package = Package(
66
name: "ParseSwift",
7-
platforms: [.iOS(.v12), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v5)],
7+
platforms: [.iOS(.v13), .macOS(.v10_15), .tvOS(.v13), .watchOS(.v6)],
88
products: [
99
.library(
1010
name: "ParseSwift",

Diff for: ParseSwift.playground/Pages/17 - SwiftUI - Finding Objects.xcplaygroundpage/Contents.swift

+1-9
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,7 @@ PlaygroundPage.current.needsIndefiniteExecution = true
1818
initializeParse()
1919

2020
//: Create your own value typed ParseObject.
21-
struct GameScore: ParseObject, Identifiable {
22-
23-
//: Conform to Identifiable for iOS13+
24-
var id: String { // swiftlint:disable:this identifier_name
25-
guard let objectId = self.objectId else {
26-
return UUID().uuidString
27-
}
28-
return objectId
29-
}
21+
struct GameScore: ParseObject {
3022

3123
//: These are required for any Object.
3224
var objectId: String?

Diff for: ParseSwift.playground/Pages/18 - SwiftUI - Finding Objects With Custom ViewModel.xcplaygroundpage/Contents.swift

+1-9
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@ PlaygroundPage.current.needsIndefiniteExecution = true
1919
initializeParse()
2020

2121
//: Create your own value typed ParseObject.
22-
struct GameScore: ParseObject, Identifiable {
23-
24-
//: Conform to Identifiable for iOS13+
25-
var id: String { // swiftlint:disable:this identifier_name
26-
guard let objectId = self.objectId else {
27-
return UUID().uuidString
28-
}
29-
return objectId
30-
}
22+
struct GameScore: ParseObject {
3123

3224
//: These are required for any Object.
3325
var objectId: String?

Diff for: ParseSwift.podtemplate

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Pod::Spec.new do |s|
1010
:git => "#{s.homepage}.git",
1111
:tag => "#{s.version}",
1212
}
13-
s.ios.deployment_target = "12.0"
14-
s.osx.deployment_target = "10.13"
15-
s.tvos.deployment_target = "12.0"
16-
s.watchos.deployment_target = "5.0"
13+
s.ios.deployment_target = "13.0"
14+
s.osx.deployment_target = "10.15"
15+
s.tvos.deployment_target = "13.0"
16+
s.watchos.deployment_target = "6.0"
1717
s.swift_versions = ['5.1', '5.2', '5.3', '5.4', '5.5']
1818
s.source_files = "Sources/ParseSwift/**/*.swift"
1919
s.license = {

Diff for: ParseSwift.xcodeproj/project.pbxproj

+17-27
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,6 @@
293293
705D950925BE4C08003EF6F8 /* SubscriptionCallback.swift in Sources */ = {isa = PBXBuildFile; fileRef = 705D950725BE4C08003EF6F8 /* SubscriptionCallback.swift */; };
294294
705D950A25BE4C08003EF6F8 /* SubscriptionCallback.swift in Sources */ = {isa = PBXBuildFile; fileRef = 705D950725BE4C08003EF6F8 /* SubscriptionCallback.swift */; };
295295
705D950B25BE4C08003EF6F8 /* SubscriptionCallback.swift in Sources */ = {isa = PBXBuildFile; fileRef = 705D950725BE4C08003EF6F8 /* SubscriptionCallback.swift */; };
296-
70647E8E259E3375004C1004 /* LocallyIdentifiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70647E8D259E3375004C1004 /* LocallyIdentifiable.swift */; };
297-
70647E8F259E3375004C1004 /* LocallyIdentifiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70647E8D259E3375004C1004 /* LocallyIdentifiable.swift */; };
298-
70647E90259E3375004C1004 /* LocallyIdentifiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70647E8D259E3375004C1004 /* LocallyIdentifiable.swift */; };
299-
70647E91259E3375004C1004 /* LocallyIdentifiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70647E8D259E3375004C1004 /* LocallyIdentifiable.swift */; };
300296
70647E9C259E3A9A004C1004 /* ParseType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70647E9B259E3A9A004C1004 /* ParseType.swift */; };
301297
70647E9D259E3A9A004C1004 /* ParseType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70647E9B259E3A9A004C1004 /* ParseType.swift */; };
302298
70647E9E259E3A9A004C1004 /* ParseType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70647E9B259E3A9A004C1004 /* ParseType.swift */; };
@@ -867,7 +863,6 @@
867863
705A99F8259807F900B3547F /* ParseFileManagerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParseFileManagerTests.swift; sourceTree = "<group>"; };
868864
705A9A2E25991C1400B3547F /* Fileable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Fileable.swift; sourceTree = "<group>"; };
869865
705D950725BE4C08003EF6F8 /* SubscriptionCallback.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SubscriptionCallback.swift; sourceTree = "<group>"; };
870-
70647E8D259E3375004C1004 /* LocallyIdentifiable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocallyIdentifiable.swift; sourceTree = "<group>"; };
871866
70647E9B259E3A9A004C1004 /* ParseType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParseType.swift; sourceTree = "<group>"; };
872867
70732C592606CCAD000CAB81 /* ParseObjectCustomObjectIdTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParseObjectCustomObjectIdTests.swift; sourceTree = "<group>"; };
873868
707A3BF025B0A4F0000D215C /* ParseAuthentication.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ParseAuthentication.swift; sourceTree = "<group>"; };
@@ -1291,7 +1286,6 @@
12911286
70BC988F252A5B5C00FF3074 /* Objectable.swift */,
12921287
F97B45C824D9C6F200F4A88B /* Queryable.swift */,
12931288
F97B45C724D9C6F200F4A88B /* Savable.swift */,
1294-
70647E8D259E3375004C1004 /* LocallyIdentifiable.swift */,
12951289
70647E9B259E3A9A004C1004 /* ParseType.swift */,
12961290
91BB8FCE2690BA70005A6BA5 /* QueryObservable.swift */,
12971291
91F346BD269B77B5005727B6 /* CloudObservable.swift */,
@@ -1972,7 +1966,7 @@
19721966
);
19731967
runOnlyForDeploymentPostprocessing = 0;
19741968
shellPath = /bin/sh;
1975-
shellScript = "if which swiftlint >/dev/null; then\n swiftlint --fix --strict\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
1969+
shellScript = "if which swiftlint >/dev/null; then\n swiftlint --fix && swiftlint --strict\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
19761970
};
19771971
918CED61268A23A700CFDC83 /* SwiftLint */ = {
19781972
isa = PBXShellScriptBuildPhase;
@@ -2074,7 +2068,6 @@
20742068
705A9A2F25991C1400B3547F /* Fileable.swift in Sources */,
20752069
89899D342603CF36002E2043 /* ParseTwitter.swift in Sources */,
20762070
F97B464A24D9C78B00F4A88B /* Delete.swift in Sources */,
2077-
70647E8E259E3375004C1004 /* LocallyIdentifiable.swift in Sources */,
20782071
F97B460624D9C6F200F4A88B /* ParseUser.swift in Sources */,
20792072
700396F825A394AE0052CB31 /* ParseLiveQueryDelegate.swift in Sources */,
20802073
F97B465A24D9C78C00F4A88B /* Increment.swift in Sources */,
@@ -2284,7 +2277,6 @@
22842277
705A9A3025991C1400B3547F /* Fileable.swift in Sources */,
22852278
89899D332603CF36002E2043 /* ParseTwitter.swift in Sources */,
22862279
F97B464B24D9C78B00F4A88B /* Delete.swift in Sources */,
2287-
70647E8F259E3375004C1004 /* LocallyIdentifiable.swift in Sources */,
22882280
F97B460724D9C6F200F4A88B /* ParseUser.swift in Sources */,
22892281
700396F925A394AE0052CB31 /* ParseLiveQueryDelegate.swift in Sources */,
22902282
F97B465B24D9C78C00F4A88B /* Increment.swift in Sources */,
@@ -2589,7 +2581,6 @@
25892581
705A9A3225991C1400B3547F /* Fileable.swift in Sources */,
25902582
89899D282603CF35002E2043 /* ParseTwitter.swift in Sources */,
25912583
F97B45F524D9C6F200F4A88B /* Pointer.swift in Sources */,
2592-
70647E91259E3375004C1004 /* LocallyIdentifiable.swift in Sources */,
25932584
F97B460924D9C6F200F4A88B /* ParseUser.swift in Sources */,
25942585
700396FB25A394AE0052CB31 /* ParseLiveQueryDelegate.swift in Sources */,
25952586
F97B463A24D9C74400F4A88B /* Responses.swift in Sources */,
@@ -2713,7 +2704,6 @@
27132704
705A9A3125991C1400B3547F /* Fileable.swift in Sources */,
27142705
89899D322603CF35002E2043 /* ParseTwitter.swift in Sources */,
27152706
F97B45F424D9C6F200F4A88B /* Pointer.swift in Sources */,
2716-
70647E90259E3375004C1004 /* LocallyIdentifiable.swift in Sources */,
27172707
F97B460824D9C6F200F4A88B /* ParseUser.swift in Sources */,
27182708
700396FA25A394AE0052CB31 /* ParseLiveQueryDelegate.swift in Sources */,
27192709
F97B463924D9C74400F4A88B /* Responses.swift in Sources */,
@@ -2857,7 +2847,7 @@
28572847
CODE_SIGN_STYLE = Automatic;
28582848
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
28592849
INFOPLIST_FILE = TestHost/Info.plist;
2860-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
2850+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
28612851
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
28622852
PRODUCT_BUNDLE_IDENTIFIER = com.parse.TestHost;
28632853
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2873,7 +2863,7 @@
28732863
CODE_SIGN_STYLE = Automatic;
28742864
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
28752865
INFOPLIST_FILE = TestHost/Info.plist;
2876-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
2866+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
28772867
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
28782868
PRODUCT_BUNDLE_IDENTIFIER = com.parse.TestHost;
28792869
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2934,14 +2924,14 @@
29342924
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
29352925
GCC_WARN_UNUSED_FUNCTION = YES;
29362926
GCC_WARN_UNUSED_VARIABLE = YES;
2937-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
2927+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
29382928
MACOSX_DEPLOYMENT_TARGET = 10.13;
29392929
MTL_ENABLE_DEBUG_INFO = YES;
29402930
ONLY_ACTIVE_ARCH = YES;
29412931
SDKROOT = iphoneos;
29422932
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
29432933
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
2944-
SWIFT_VERSION = 4.2;
2934+
SWIFT_VERSION = 5.0;
29452935
VERSIONING_SYSTEM = "apple-generic";
29462936
VERSION_INFO_PREFIX = "";
29472937
};
@@ -2993,12 +2983,12 @@
29932983
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
29942984
GCC_WARN_UNUSED_FUNCTION = YES;
29952985
GCC_WARN_UNUSED_VARIABLE = YES;
2996-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
2986+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
29972987
MACOSX_DEPLOYMENT_TARGET = 10.13;
29982988
MTL_ENABLE_DEBUG_INFO = NO;
29992989
SDKROOT = iphoneos;
30002990
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
3001-
SWIFT_VERSION = 4.2;
2991+
SWIFT_VERSION = 5.0;
30022992
VALIDATE_PRODUCT = YES;
30032993
VERSIONING_SYSTEM = "apple-generic";
30042994
VERSION_INFO_PREFIX = "";
@@ -3016,7 +3006,7 @@
30163006
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
30173007
INFOPLIST_FILE = "ParseSwift-iOS/Info.plist";
30183008
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
3019-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
3009+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
30203010
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
30213011
MARKETING_VERSION = 1.8.3;
30223012
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ParseSwift;
@@ -3041,7 +3031,7 @@
30413031
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
30423032
INFOPLIST_FILE = "ParseSwift-iOS/Info.plist";
30433033
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
3044-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
3034+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
30453035
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
30463036
MARKETING_VERSION = 1.8.3;
30473037
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ParseSwift;
@@ -3111,7 +3101,7 @@
31113101
INFOPLIST_FILE = "ParseSwift-macOS/Info.plist";
31123102
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
31133103
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
3114-
MACOSX_DEPLOYMENT_TARGET = 10.13;
3104+
MACOSX_DEPLOYMENT_TARGET = 10.15;
31153105
MARKETING_VERSION = 1.8.3;
31163106
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ParseSwift;
31173107
PRODUCT_NAME = ParseSwift;
@@ -3138,7 +3128,7 @@
31383128
INFOPLIST_FILE = "ParseSwift-macOS/Info.plist";
31393129
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
31403130
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
3141-
MACOSX_DEPLOYMENT_TARGET = 10.13;
3131+
MACOSX_DEPLOYMENT_TARGET = 10.15;
31423132
MARKETING_VERSION = 1.8.3;
31433133
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ParseSwift;
31443134
PRODUCT_NAME = ParseSwift;
@@ -3168,7 +3158,7 @@
31683158
SDKROOT = appletvos;
31693159
SWIFT_VERSION = 5.0;
31703160
TARGETED_DEVICE_FAMILY = 3;
3171-
TVOS_DEPLOYMENT_TARGET = 12.0;
3161+
TVOS_DEPLOYMENT_TARGET = 13.0;
31723162
};
31733163
name = Debug;
31743164
};
@@ -3188,7 +3178,7 @@
31883178
SDKROOT = appletvos;
31893179
SWIFT_VERSION = 5.0;
31903180
TARGETED_DEVICE_FAMILY = 3;
3191-
TVOS_DEPLOYMENT_TARGET = 12.0;
3181+
TVOS_DEPLOYMENT_TARGET = 13.0;
31923182
};
31933183
name = Release;
31943184
};
@@ -3304,7 +3294,7 @@
33043294
SWIFT_VERSION = 5.0;
33053295
TARGETED_DEVICE_FAMILY = 4;
33063296
TVOS_DEPLOYMENT_TARGET = 12.0;
3307-
WATCHOS_DEPLOYMENT_TARGET = 5.0;
3297+
WATCHOS_DEPLOYMENT_TARGET = 6.0;
33083298
};
33093299
name = Debug;
33103300
};
@@ -3333,7 +3323,7 @@
33333323
SWIFT_VERSION = 5.0;
33343324
TARGETED_DEVICE_FAMILY = 4;
33353325
TVOS_DEPLOYMENT_TARGET = 12.0;
3336-
WATCHOS_DEPLOYMENT_TARGET = 5.0;
3326+
WATCHOS_DEPLOYMENT_TARGET = 6.0;
33373327
};
33383328
name = Release;
33393329
};
@@ -3361,7 +3351,7 @@
33613351
SKIP_INSTALL = YES;
33623352
SWIFT_VERSION = 5.0;
33633353
TARGETED_DEVICE_FAMILY = 3;
3364-
TVOS_DEPLOYMENT_TARGET = 12.0;
3354+
TVOS_DEPLOYMENT_TARGET = 13.0;
33653355
WATCHOS_DEPLOYMENT_TARGET = 5.0;
33663356
};
33673357
name = Debug;
@@ -3389,7 +3379,7 @@
33893379
SKIP_INSTALL = YES;
33903380
SWIFT_VERSION = 5.0;
33913381
TARGETED_DEVICE_FAMILY = 3;
3392-
TVOS_DEPLOYMENT_TARGET = 12.0;
3382+
TVOS_DEPLOYMENT_TARGET = 13.0;
33933383
WATCHOS_DEPLOYMENT_TARGET = 5.0;
33943384
};
33953385
name = Release;

Diff for: README.md

-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ Please checkout the [Swift Playground](https://github.com/parse-community/Parse-
8383

8484
## LiveQuery
8585

86-
**Requires: iOS 13.0+, macOS 10.15+, macCatalyst 13.0+, tvOS 13.0+, watchOS 6.0+**
87-
8886
`Query` is one of the key concepts on the Parse Platform. It allows you to retrieve `ParseObject`s by specifying some conditions, making it easy to build apps such as a dashboard, a todo list or even some strategy games. However, `Query` is based on a pull model, which is not suitable for apps that need real-time support.
8987

9088
Suppose you are building an app that allows multiple users to edit the same file at the same time. `Query` would not be an ideal tool since you can not know when to query from the server to get the updates.

Diff for: Sources/ParseSwift/Authentication/3rd Party/ParseApple/ParseApple+combine.swift

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import Foundation
1111
import Combine
1212

13-
@available(macOS 10.15, iOS 13.0, macCatalyst 13.0, watchOS 6.0, tvOS 13.0, *)
1413
public extension ParseApple {
1514
// MARK: Login - Combine
1615

@@ -48,7 +47,6 @@ public extension ParseApple {
4847
}
4948
}
5049

51-
@available(macOS 10.15, iOS 13.0, macCatalyst 13.0, watchOS 6.0, tvOS 13.0, *)
5250
public extension ParseApple {
5351
// MARK: Link - Combine
5452

Diff for: Sources/ParseSwift/Authentication/3rd Party/ParseFacebook/ParseFacebook+combine.swift

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import Foundation
1111
import Combine
1212

13-
@available(macOS 10.15, iOS 13.0, macCatalyst 13.0, watchOS 6.0, tvOS 13.0, *)
1413
public extension ParseFacebook {
1514
// MARK: Login - Combine
1615
/**
@@ -70,7 +69,6 @@ public extension ParseFacebook {
7069
}
7170
}
7271

73-
@available(macOS 10.15, iOS 13.0, macCatalyst 13.0, watchOS 6.0, tvOS 13.0, *)
7472
public extension ParseFacebook {
7573
// MARK: Link - Combine
7674
/**

0 commit comments

Comments
 (0)