Skip to content

d-i-t-a/r2-lcp-swift

 
 

Repository files navigation

readium-lcp-swift

Swift wrapper module for LCP support

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 ReadiumLCP with Carthage:

  1. Make sure Carthage is installed.

  2. Update your Cartfile to include the following:

    github "readium/r2-lcp-swift" ~> 1.0.5
  3. Run carthage update and add the appropriate framework.

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. To install ReadiumLCP with CocoaPods:

  1. Make sure CocoaPods is installed. (ReadiumLCP requires version 1.0.0 or greater.)

    # Using the default Ruby install will require you to use sudo when
    # installing and updating gems.
    [sudo] gem install cocoapods
  2. Update your Podfile to include the following:

    use_frameworks!
    
    target 'YourAppTargetName' do
        pod 'ReadiumLCP', :git => 'https://github.com/readium/r2-lcp-swift.git', '~> 1.0.5'
    end
  3. Run pod install --repo-update.

Dependencies in this module

  • R2Shared : Custom types shared by several readium-2 Swift modules.
  • ZIPFoundation : Effortless ZIP Handling in Swift
  • SQLite.swift : A type-safe, Swift-language layer over SQLite3.
  • CryptoSwift : CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift

Packages

No packages published

Languages

  • Swift 98.4%
  • Other 1.6%