Thanks Zimmie, DMG. It did work after adding the NSSecureUnarchiveFromData to the transformer field.
(Shouldn't Xcode have a dropdown with the built-in custom-classes in there? Not very discoverable, otherwise.)
Zimmie, DMG: I have a follow-up if you even happen to see this. I don't think I need to upload the code to ask the question. Let me try.
my try? moc.save() statements (I did change them to do/catch eventually while trying to debug) were in a non-view file where the class dealing with the data that needed to be saved lived, and was transferred to core data through a method part of that class. The class had "@Environment(.managedObjectContext) var moc" in there, and the app compiled fine.
The app did compile, but the data wouldn't save in core data. Eventually I figured out it that the try save.moc spat the error "The operation couldn’t be completed. (Foundation._GenericObjCError error 0.)". Googling that wasn't too productive either, but something I saw made me try to put all of the method code into the appropriate button within the view that called for that method (it's quite a bit of code). That, somehow, worked.
My question: why? It does work, but my code looks even uglier than my usual vomit. I would love to move that to the class in a separate file. Thanks a ton.