Removed not needed stuff from generation.

Started adding a view for adding data.

Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
Louis Hollingworth 2023-05-21 13:52:47 +01:00
parent 81cb27dd6c
commit 9701c3428c
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
9 changed files with 118 additions and 139 deletions

30
Leganto/AddFeed.swift Normal file
View file

@ -0,0 +1,30 @@
//
// AddFeed.swift
// Leganto
//
// Created by Louis Hollingworth on 2023-05-21.
//
import SwiftUI
enum Genre: Int16 {
case uncategorised = 0
case technology = 1
case news = 2
}
struct AddFeed: View {
@State private var name = ""
@State private var desc = ""
@State private var genre = Genre.uncategorised.rawValue
@State private var url = ""
var body: some View {
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
}
}
struct AddFeed_Previews: PreviewProvider {
static var previews: some View {
AddFeed()
}
}