Louis Hollingworth
9701c3428c
Started adding a view for adding data. Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
31 lines
535 B
Swift
31 lines
535 B
Swift
//
|
|
// ContentView.swift
|
|
// Leganto
|
|
//
|
|
// Created by Louis Hollingworth on 2023-05-21.
|
|
//
|
|
|
|
import SwiftUI
|
|
import CoreData
|
|
|
|
struct ContentView: View {
|
|
@Environment(\.managedObjectContext) var moc
|
|
|
|
@FetchRequest(sortDescriptors: [], animation: .default) var feeds: FetchedResults<Feed>
|
|
|
|
var body: some View {
|
|
Text("Hello World")
|
|
}
|
|
|
|
func addItem() {}
|
|
|
|
func deleteItems() {}
|
|
}
|
|
|
|
|
|
struct ContentView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
ContentView()
|
|
}
|
|
}
|