Ginso
(Ginso)
1
Hello,
i have an array of objects of a class provided by a Module(In this case from PSPDFKit Instant the class InstantDocumentDescriptor ) and i want to store those objects persistent. Is that possible? Or can i only store objects for which i can create a data model?
eskimo
(Quinn “The Eskimo!”)
2
Swift does not let you persist an arbitrary object graph. There are options, like Codable and NSSecureCoding, but they require opt in from the library. I recommend that you consult with your library vendor to see if they support any of these options.
Share and Enjoy
Quinn “The Eskimo!” @ DTS @ Apple