Swiftpack.co - readium/r2-navigator-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by readium.
readium/r2-navigator-swift 2.2.0
A Swift implementation of the Readium 2 Navigator
⭐️ 20
🕓 4 weeks ago
.package(url: "https://github.com/readium/r2-navigator-swift.git", from: "2.2.0")

:warning: ᴛʜɪs ʀᴇᴘᴏsɪᴛᴏʀʏ ɪs ᴅᴇᴘʀᴇᴄᴀᴛᴇᴅ :warning:

We moved all the r2-*-swift modules to a single repository: swift-toolkit.

BSD-3 Carthage compatible


A Swift implementation of the R2 Navigator

Changes and releases are documented in the Changelog

Adding the library to your iOS project

Note: requires Swift 4.2 (and Xcode 10.1).


Carthage is a simple, decentralized dependency manager for Cocoa. To install R2Navigator with Carthage:

  1. Make sure Carthage is installed.

  2. Update your Cartfile to include the following:

    github "readium/r2-navigator-swift" "develop"
  3. Run:

  4. Add the appropriate framework.


In your Swift files :

// Swift source file

import R2Navigator

Dependencies in this module

  • R2Shared : Contains the definitions of shared custom types used across the readium-2 Swift projects.


Stars: 20
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

4 weeks ago

Take a look at the migration guide


  • A new translate EPUB and PDF editing action is available for iOS 15.


  • Fixed turning pages of an EPUB reflowable resource with an odd number of columns. A virtual blank trailing column is appended to the resource when displayed as two columns.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics