Contains the definitions of the custom types (model) used across the Readium 2 Swift projects.
Changes and releases are documented in the Changelog
Note: requires Swift 4.2 (and Xcode 10.1).
Carthage is a simple, decentralized dependency manager for Cocoa. To install R2Shared with Carthage:
-
Make sure Carthage is installed.
-
Update your Cartfile to include the following:
github "readium/r2-shared-swift" "develop"
-
Run:
mkdir -p Carthage/Build/iOS
carthage update --use-xcframeworks
In your Swift files :
// Swift source file
import R2Shared