Skip to content

NikitaEvidentPoint/r2-shared-swift

Repository files navigation

BSD-3 Carthage compatible

r2-shared-swift

Contains the definitions of the custom types (model) used across the readium-2 Swift projects.

Adding the library to your iOS project

Carthage

Add the following line to your Cartfile

github "readium/r2-shared-swift"

Then run carthage update --platform ios to fetch and build the dependencies.

Import

In your Swift files :

// Swift source file

import R2Shared

Installing dependencies (for developers)

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).

About

Repo for custom types shared by several readium-2 Swift modules

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors