Skip to content

Commit 0ece83f

Browse files
committed
nits
1 parent 476cfa0 commit 0ece83f

File tree

9 files changed

+22
-22
lines changed

9 files changed

+22
-22
lines changed

ParseSwift.playground/Pages/12 - Roles and Relations.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ do {
211211
print(error)
212212
}
213213

214-
//: All `ParseObjects` have a `ParseRelation` attribute that be used on instances.
214+
//: All `ParseObject`s have a `ParseRelation` attribute that be used on instances.
215215
//: For example, the User has:
216216
let relation = User.current!.relation
217217

ParseSwift.playground/Pages/13 - Operations.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ do {
5959
print(error)
6060
}
6161

62-
//: There are other operations: add/remove/delete objects from `ParseObjects`.
62+
//: There are other operations: add/remove/delete objects from `ParseObject`s.
6363
//: In fact, the `users` and `roles` relations from `ParseRoles` used the add/remove operations.
6464
let operations = savedScore.operation
6565

Sources/ParseSwift/Objects/ParseInstallation+combine.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public extension Sequence where Element: ParseInstallation {
7171
Fetches a collection of installations *aynchronously* with the current data from the server and sets
7272
an error if one occurs. Publishes when complete.
7373
- parameter includeKeys: The name(s) of the key(s) to include that are
74-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
74+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
7575
`includeAll` for `Query`.
7676
- parameter options: A set of header options sent to the server. Defaults to an empty set.
7777
- returns: A publisher that eventually produces a single value and then finishes or fails.

Sources/ParseSwift/Objects/ParseInstallation.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ extension ParseInstallation {
339339
Fetches the `ParseInstallation` *synchronously* with the current data from the server
340340
and sets an error if one occurs.
341341
- parameter includeKeys: The name(s) of the key(s) to include that are
342-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
342+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
343343
`includeAll` for `Query`.
344344
- parameter options: A set of header options sent to the server. Defaults to an empty set.
345345
- throws: An error of `ParseError` type.
@@ -356,7 +356,7 @@ extension ParseInstallation {
356356
/**
357357
Fetches the `ParseInstallation` *asynchronously* and executes the given callback block.
358358
- parameter includeKeys: The name(s) of the key(s) to include that are
359-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
359+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
360360
`includeAll` for `Query`.
361361
- parameter options: A set of header options sent to the server. Defaults to an empty set.
362362
- parameter callbackQueue: The queue to return to after completion. Default
@@ -770,7 +770,7 @@ public extension Sequence where Element: ParseInstallation {
770770
/**
771771
Fetches a collection of installations *synchronously* all at once and throws an error if necessary.
772772
- parameter includeKeys: The name(s) of the key(s) to include that are
773-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
773+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
774774
`includeAll` for `Query`.
775775
- parameter options: A set of header options sent to the server. Defaults to an empty set.
776776

@@ -815,7 +815,7 @@ public extension Sequence where Element: ParseInstallation {
815815
/**
816816
Fetches a collection of installations all at once *asynchronously* and executes the completion block when done.
817817
- parameter includeKeys: The name(s) of the key(s) to include that are
818-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
818+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
819819
`includeAll` for `Query`.
820820
- parameter options: A set of header options sent to the server. Defaults to an empty set.
821821
- parameter callbackQueue: The queue to return to after completion. Default value of .main.

Sources/ParseSwift/Objects/ParseObject+combine.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public extension ParseObject {
1818
Fetches the `ParseObject` *aynchronously* with the current data from the server and sets an error if one occurs.
1919
Publishes when complete.
2020
- parameter includeKeys: The name(s) of the key(s) to include that are
21-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
21+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
2222
`includeAll` for `Query`.
2323
- parameter options: A set of header options sent to the server. Defaults to an empty set.
2424
- returns: A publisher that eventually produces a single value and then finishes or fails.
@@ -68,7 +68,7 @@ public extension Sequence where Element: ParseObject {
6868
Fetches a collection of objects *aynchronously* with the current data from the server and sets
6969
an error if one occurs. Publishes when complete.
7070
- parameter includeKeys: The name(s) of the key(s) to include that are
71-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
71+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
7272
`includeAll` for `Query`.
7373
- parameter options: A set of header options sent to the server. Defaults to an empty set.
7474
- returns: A publisher that eventually produces a single value and then finishes or fails.

Sources/ParseSwift/Objects/ParseObject.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public extension Sequence where Element: ParseObject {
230230
/**
231231
Fetches a collection of objects *synchronously* all at once and throws an error if necessary.
232232
- parameter includeKeys: The name(s) of the key(s) to include that are
233-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
233+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
234234
`includeAll` for `Query`.
235235
- parameter options: A set of header options sent to the server. Defaults to an empty set.
236236

@@ -271,7 +271,7 @@ public extension Sequence where Element: ParseObject {
271271
/**
272272
Fetches a collection of objects all at once *asynchronously* and executes the completion block when done.
273273
- parameter includeKeys: The name(s) of the key(s) to include that are
274-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
274+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
275275
`includeAll` for `Query`.
276276
- parameter options: A set of header options sent to the server. Defaults to an empty set.
277277
- parameter callbackQueue: The queue to return to after completion. Default value of .main.
@@ -459,7 +459,7 @@ extension ParseObject {
459459
/**
460460
Fetches the `ParseObject` *synchronously* with the current data from the server and sets an error if one occurs.
461461
- parameter includeKeys: The name(s) of the key(s) to include that are
462-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
462+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
463463
`includeAll` for `Query`.
464464
- parameter options: A set of header options sent to the server. Defaults to an empty set.
465465
- throws: An error of `ParseError` type.

Sources/ParseSwift/Objects/ParseUser+combine.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public extension ParseUser {
141141
Fetches the `ParseUser` *aynchronously* with the current data from the server and sets an error if one occurs.
142142
Publishes when complete.
143143
- parameter includeKeys: The name(s) of the key(s) to include that are
144-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
144+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
145145
`includeAll` for `Query`.
146146
- parameter options: A set of header options sent to the server. Defaults to an empty set.
147147
- returns: A publisher that eventually produces a single value and then finishes or fails.
@@ -193,7 +193,7 @@ public extension Sequence where Element: ParseUser {
193193
Fetches a collection of users *aynchronously* with the current data from the server and sets
194194
an error if one occurs. Publishes when complete.
195195
- parameter includeKeys: The name(s) of the key(s) to include that are
196-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
196+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
197197
`includeAll` for `Query`.
198198
- parameter options: A set of header options sent to the server. Defaults to an empty set.
199199
- returns: A publisher that eventually produces a single value and then finishes or fails.

Sources/ParseSwift/Objects/ParseUser.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ extension ParseUser {
648648
/**
649649
Fetches the `ParseUser` *synchronously* with the current data from the server and sets an error if one occurs.
650650
- parameter includeKeys: The name(s) of the key(s) to include that are
651-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
651+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
652652
`includeAll` for `Query`.
653653
- parameter options: A set of header options sent to the server. Defaults to an empty set.
654654
- throws: An error of `ParseError` type.
@@ -666,7 +666,7 @@ extension ParseUser {
666666
/**
667667
Fetches the `ParseUser` *asynchronously* and executes the given callback block.
668668
- parameter includeKeys: The name(s) of the key(s) to include that are
669-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
669+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
670670
`includeAll` for `Query`.
671671
- parameter options: A set of header options sent to the server. Defaults to an empty set.
672672
- parameter callbackQueue: The queue to return to after completion. Default
@@ -1091,7 +1091,7 @@ public extension Sequence where Element: ParseUser {
10911091
/**
10921092
Fetches a collection of users *synchronously* all at once and throws an error if necessary.
10931093
- parameter includeKeys: The name(s) of the key(s) to include that are
1094-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
1094+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
10951095
`includeAll` for `Query`.
10961096
- parameter options: A set of header options sent to the server. Defaults to an empty set.
10971097

@@ -1134,7 +1134,7 @@ public extension Sequence where Element: ParseUser {
11341134
/**
11351135
Fetches a collection of users all at once *asynchronously* and executes the completion block when done.
11361136
- parameter includeKeys: The name(s) of the key(s) to include that are
1137-
`ParseObjects`. Use `["*"]` to include all keys. This is similar to `include` and
1137+
`ParseObject`s. Use `["*"]` to include all keys. This is similar to `include` and
11381138
`includeAll` for `Query`.
11391139
- parameter options: A set of header options sent to the server. Defaults to an empty set.
11401140
- parameter callbackQueue: The queue to return to after completion. Default value of .main.

Tests/ParseSwiftTests/ParseObjectTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class ParseObjectTests: XCTestCase { // swiftlint:disable:this type_body_length
108108
has been previously synced to the parse-server (has an objectId). In addition, if two
109109
`ParseObject`'s have the same objectId, but were modified at different times, the
110110
default implementation will still return true. In these cases you either want to use a
111-
"struct" (value types) to make your `ParseObjects` instead of a class (reference type) or
111+
"struct" (value types) to make your `ParseObject`s instead of a class (reference type) or
112112
provide your own implementation of `==`.
113113
- parameter lhs: first object to compare
114114
- parameter rhs: second object to compare
@@ -126,7 +126,7 @@ class ParseObjectTests: XCTestCase { // swiftlint:disable:this type_body_length
126126
- warning: If you use the default implementation, hash will only work if the ParseObject has been previously
127127
synced to the parse-server (has an objectId). In addition, if two `ParseObject`'s have the same objectId,
128128
but were modified at different times, the default implementation will hash to the same value. In these
129-
cases you either want to use a "struct" (value types) to make your `ParseObjects` instead of a
129+
cases you either want to use a "struct" (value types) to make your `ParseObject`s instead of a
130130
class (reference type) or provide your own implementation of `hash`.
131131

132132
*/
@@ -160,7 +160,7 @@ class ParseObjectTests: XCTestCase { // swiftlint:disable:this type_body_length
160160
has been previously synced to the parse-server (has an objectId). In addition, if two
161161
`ParseObject`'s have the same objectId, but were modified at different times, the
162162
default implementation will still return true. In these cases you either want to use a
163-
"struct" (value types) to make your `ParseObjects` instead of a class (reference type) or
163+
"struct" (value types) to make your `ParseObject`s instead of a class (reference type) or
164164
provide your own implementation of `==`.
165165
- parameter lhs: first object to compare
166166
- parameter rhs: second object to compare
@@ -177,7 +177,7 @@ class ParseObjectTests: XCTestCase { // swiftlint:disable:this type_body_length
177177
- warning: If you use the default implementation, hash will only work if the ParseObject has been previously
178178
synced to the parse-server (has an objectId). In addition, if two `ParseObject`'s have the same objectId,
179179
but were modified at different times, the default implementation will hash to the same value. In these
180-
cases you either want to use a "struct" (value types) to make your `ParseObjects` instead of a
180+
cases you either want to use a "struct" (value types) to make your `ParseObject`s instead of a
181181
class (reference type) or provide your own implementation of `hash`.
182182

183183
*/

0 commit comments

Comments
 (0)