We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c66444 commit b710984Copy full SHA for b710984
ParseSwift.playground/Pages/11 - LiveQuery.xcplaygroundpage/Contents.swift
@@ -44,7 +44,7 @@ struct GameScore: ParseObject {
44
45
//: Create a query just as you normally would.
46
var query = GameScore.query("score" > 9)
47
-/*
+
48
#if canImport(SwiftUI)
49
//: To use subscriptions inside of SwiftUI
50
struct ContentView: View {
@@ -100,7 +100,7 @@ struct ContentView: View {
100
101
PlaygroundPage.current.setLiveView(ContentView())
102
#endif
103
-*/
104
//: This is how you subscribe to your created query using callbacks.
105
let subscription = query.subscribeCallback!
106
0 commit comments