Skip to content

Commit

Permalink
Update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Sep 3, 2024
1 parent 42db2eb commit a915a24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Demo/Sources/iOS/Pulse_Demo_iOSApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ struct PulseDemo_iOS: App {
var body: some Scene {
WindowGroup {
NavigationView {
ConsoleView(store: .shared)
ConsoleView(store: .demo)
}
}
}
}

private final class AppViewModel: ObservableObject {
init() {
// - warning: If you are testing it, make sure to switch the demo to use
// the shared store.

// NetworkLogger.enableProxy()

DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(3)) {
Expand All @@ -32,7 +35,7 @@ private final class AppViewModel: ObservableObject {


private func sendRequest() {
testSwiftConcurrency()
// testSwiftConcurrency()

// let task = session.dataTask(with: URLRequest(url: URL(string: "https://github.com/kean/Nuke/archive/refs/tags/11.0.0.zip")!))
// task.resume()
Expand Down

0 comments on commit a915a24

Please sign in to comment.