Skip to content

Commit b58fb67

Browse files
cbaker6TomWFox
andauthored
Apply suggestions from code review
Co-authored-by: Tom Fox <[email protected]>
1 parent b3982b8 commit b58fb67

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/ParseSwift/LiveQuery/ParseLiveQuery.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import Foundation
3131
}
3232
}
3333

34-
The above creates a `ParseLiveQuery` using either the `liveQueryServerURL`(if it has been set)
34+
The above creates a `ParseLiveQuery` using either the `liveQueryServerURL` (if it has been set)
3535
or `serverURL` when using `ParseSwift.initialize`. All additional queries will be
3636
created in the same way. The times you will want to initialize a new `ParseLiveQuery` instance
3737
are: 1) If you want to become a `ParseLiveQueryDelegate` to respond to authentification challenges
@@ -69,7 +69,7 @@ public final class ParseLiveQuery: NSObject {
6969
/// Have all `ParseLiveQuery` authentication challenges delegated to you. There can only
7070
/// be one of these for all `ParseLiveQuery` connections. The default is to
7171
/// delegate to the `authentication` call block passed to `ParseSwift.initialize`
72-
/// of if there is not one, delegate to the OS. Conforms to `ParseLiveQueryDelegate`.
72+
/// or if there is not one, delegate to the OS. Conforms to `ParseLiveQueryDelegate`.
7373
public weak var authenticationDelegate: ParseLiveQueryDelegate? {
7474
willSet {
7575
if newValue != nil {
@@ -84,7 +84,7 @@ public final class ParseLiveQuery: NSObject {
8484
}
8585
}
8686

87-
/// Have `ParseLiveQuery` connection metrics, errors, etc. delegated to you. A delegate
87+
/// Have `ParseLiveQuery` connection metrics, errors, etc delegated to you. A delegate
8888
/// can be assigned to individual connections. Conforms to `ParseLiveQueryDelegate`.
8989
public weak var receiveDelegate: ParseLiveQueryDelegate?
9090

@@ -148,7 +148,7 @@ public final class ParseLiveQuery: NSObject {
148148
var pendingSubscriptions = [(RequestId, SubscriptionRecord)]() // Behave as FIFO to maintain sending order
149149

150150
/**
151-
- parameter serverURL: The URL of the Parse Live Query Server to connect to.
151+
- parameter serverURL: The URL of the `ParseLiveQuery` Server to connect to.
152152
Defaults to `nil` in which case, it will use the URL passed in
153153
`ParseSwift.initialize(...liveQueryServerURL: URL)`. If no URL was passed,
154154
this assumes the current Parse Server URL is also the LiveQuery server.
@@ -483,7 +483,7 @@ extension ParseLiveQuery: LiveQuerySocketDelegate {
483483
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
484484
extension ParseLiveQuery {
485485

486-
/// Manually establish a connection to the `ParseLiveQuery` server.
486+
/// Manually establish a connection to the `ParseLiveQuery` Server.
487487
/// - parameter isUserWantsToConnect: Specifies if the user is calling this function. Defaults to `true`.
488488
/// - parameter completion: Returns `nil` if successful, an `Error` otherwise.
489489
public func open(isUserWantsToConnect: Bool = true, completion: @escaping (Error?) -> Void) {
@@ -516,7 +516,7 @@ extension ParseLiveQuery {
516516
}
517517
}
518518

519-
/// Manually disconnect from the `ParseLiveQuery` server.
519+
/// Manually disconnect from the `ParseLiveQuery` Server.
520520
public func close() {
521521
synchronizationQueue.sync {
522522
if self.isConnected {

0 commit comments

Comments
 (0)