2023-05-21 11:43:45 +00:00
|
|
|
//
|
|
|
|
// ContentView.swift
|
|
|
|
// Leganto
|
|
|
|
//
|
|
|
|
// Created by Louis Hollingworth on 2023-05-21.
|
|
|
|
//
|
|
|
|
|
|
|
|
import SwiftUI
|
|
|
|
import CoreData
|
|
|
|
|
|
|
|
struct ContentView: View {
|
2023-05-21 12:52:47 +00:00
|
|
|
@Environment(\.managedObjectContext) var moc
|
|
|
|
|
|
|
|
@FetchRequest(sortDescriptors: [], animation: .default) var feeds: FetchedResults<Feed>
|
2023-05-21 11:43:45 +00:00
|
|
|
|
|
|
|
var body: some View {
|
2023-05-21 12:52:47 +00:00
|
|
|
Text("Hello World")
|
2023-05-21 11:43:45 +00:00
|
|
|
}
|
2023-05-21 12:52:47 +00:00
|
|
|
|
|
|
|
func addItem() {}
|
|
|
|
|
|
|
|
func deleteItems() {}
|
2023-05-21 11:43:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
struct ContentView_Previews: PreviewProvider {
|
|
|
|
static var previews: some View {
|
2023-05-21 12:52:47 +00:00
|
|
|
ContentView()
|
2023-05-21 11:43:45 +00:00
|
|
|
}
|
|
|
|
}
|