mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-23 01:49:29 +01:00
Add Async image loading
This commit is contained in:
17
Examples/Time Travel/SwiftUITimeTravel/ContentView.swift
Executable file
17
Examples/Time Travel/SwiftUITimeTravel/ContentView.swift
Executable file
@@ -0,0 +1,17 @@
|
||||
import SwiftUI
|
||||
|
||||
struct ContentView : View {
|
||||
var body: some View {
|
||||
TimeTravelView(initialState: TodoState()) {
|
||||
TodoListView()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
struct ContentView_Previews : PreviewProvider {
|
||||
static var previews: some View {
|
||||
ContentView()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user