A very simple object store protocol, which works with Swift's Codable
protocol.
Provides three basic operations:
Objects are stored and retrieved using identifiers.
Ideally the identifiers can be anything conforming to the Identifiable
protocol, although currently some parts of the API require them to be String
.
Objects can be encoded/decoded in any way that the implementation chooses.
An basic implementation is provided which:
Data
object as the content of the fileObjectCoder
object to encode/decode the objects to/from Data
link |
Stars: 0 |
Last commit: 3 years ago |
Added remove().
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics