Contains the definitions of the custom types (model) used across the readium-2 Swift projects.
Add the following line to your Cartfile
github "readium/r2-shared-swift"
Then run carthage update --platform ios
to fetch and build the dependencies.
In your Swift files :
// Swift source file
import R2Shared
The project dependencies are managed with Carthage.
Run carthage update --platform ios
to fetch and build the dependencies:
- ObjectMapper : ObjectMapper is a framework written in Swift that makes it easy for you to convert your model objects (classes and structs) to (and from JSON, but not used here).