40.5 Designing the Content View
Before performing some initial tests on the project so far, the content view needs to be modified to display an image instead of text content. We will also take this opportunity to add a Button view to the layout to apply the sepia filter to the image. Edit the ContentView.swift file and modify it so that it reads as follows:
import SwiftUI
struct ContentView: View {
@Binding var document: ImageDocDemoDocument
var body: some View {
VStack {
Image(uiImage: document.image)
.resizable()
.aspectRatio(contentMode: .fit)
&...