Adds some import tasks.
This commit is contained in:
@@ -8,8 +8,9 @@
|
|||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
||||||
struct Library: View {
|
struct Library: View {
|
||||||
|
// TODO: add an import button that searches https://api.open5e.com/monsters/ and lets you import a monster from there
|
||||||
|
// TODO: add an import button that lets you browse for a tetra cube monster file and import it
|
||||||
@Environment(\.managedObjectContext) private var viewContext
|
@Environment(\.managedObjectContext) private var viewContext
|
||||||
|
|
||||||
@FetchRequest(
|
@FetchRequest(
|
||||||
sortDescriptors: [
|
sortDescriptors: [
|
||||||
NSSortDescriptor(keyPath: \Monster.name, ascending: true),
|
NSSortDescriptor(keyPath: \Monster.name, ascending: true),
|
||||||
|
|||||||
Reference in New Issue
Block a user