leganto-apple/Leganto/AddFeed.swift

31 lines
591 B
Swift
Raw Normal View History

//
// 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()
}
}