Swiftpack.co -  readium/r2-shared-swift as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
readium/r2-shared-swift
Repo for custom types shared by several readium-2 Swift modules
.package(url: "https://github.com/readium/r2-shared-swift.git", from: "2.0.1")

BSD-3 Carthage compatible

r2-shared-swift

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

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

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

  1. Make sure Carthage is installed.

  2. Update your Cartfile to include the following:

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

  4. Add the appropriate framework.

Import

In your Swift files :

// Swift source file

import R2Shared

GitHub

link
Stars: 6
Last commit: 3 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

2.0.1
2 weeks ago

Take a look at the migration guide

Fixed

  • #139 Compile error with Xcode 12.4

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