All Projects → FolioReader → Folioreaderkit

FolioReader / Folioreaderkit

Licence: bsd-3-clause
📚 A Swift ePub reader and parser framework for iOS.

Programming Languages

swift
15916 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to Folioreaderkit

Folioreader Android
A Java ePub reader and parser framework for Android.
Stars: ✭ 2,025 (-14.99%)
Mutual labels:  epub, highlight, night-mode, custom-fonts, epub-reader
onesync-reader-app
Cross-platform ebook reader built using Xamarin.Forms
Stars: ✭ 33 (-98.61%)
Mutual labels:  epub, epub-reader
iRead
iRead is an EPUB reader for iOS written in Swift
Stars: ✭ 83 (-96.52%)
Mutual labels:  epub, epub-reader
readium-css
🌈 A set of reference stylesheets for EPUB Reading Systems, starting with Readium Mobile
Stars: ✭ 78 (-96.73%)
Mutual labels:  epub, epub-reader
termpub
Epubreader for the terminal
Stars: ✭ 25 (-98.95%)
Mutual labels:  epub, epub-reader
EveReader
Epub Reader, focused on annotation.
Stars: ✭ 68 (-97.15%)
Mutual labels:  epub, epub-reader
R2D2BC
https://d-i-t-a.github.io/R2D2BC/
Stars: ✭ 27 (-98.87%)
Mutual labels:  epub, epub-reader
epub-viewer
android epub viewer
Stars: ✭ 32 (-98.66%)
Mutual labels:  epub, epub-reader
jorkens
epub reader based on epub.js for foreign language learners
Stars: ✭ 35 (-98.53%)
Mutual labels:  epub, epub-reader
kthoom
Comic Book Reader in the Browser
Stars: ✭ 97 (-95.93%)
Mutual labels:  epub, epub-reader
Webpages To Ebook
Create an EPUB from a list of URLs. Standing on the shoulders of Wget, Readability and Pandoc.
Stars: ✭ 155 (-93.49%)
Mutual labels:  epub
Epubviewer
ePub viewer with dictionary, themes, search, offline support, and more
Stars: ✭ 156 (-93.45%)
Mutual labels:  epub
Vue Morphling
Vue filters and directives collection.
Stars: ✭ 179 (-92.49%)
Mutual labels:  highlight
Markdown Edit
online markdown editor/viewer
Stars: ✭ 188 (-92.11%)
Mutual labels:  highlight
Geshi 1.0
Original version of Generic Syntax Highlighter for PHP
Stars: ✭ 149 (-93.74%)
Mutual labels:  highlight
Asciidoctor Epub3
📘 Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc to EPUB3 & KF8/MOBI
Stars: ✭ 166 (-93.03%)
Mutual labels:  epub
Dart Epub
Epub Reader and Writer for Dart
Stars: ✭ 146 (-93.87%)
Mutual labels:  epub
Chromaterial
ChroMATERIAL is an IntelliJ Platform coloring scheme that expresses the chromatic nature of Material Design within IntelliJ and Android Studio. It is intended to highlight the most import aspects of your code.
Stars: ✭ 143 (-94%)
Mutual labels:  highlight
Highlight Utils
My tools for converting, importing, and processing Kindle, Instapaper, and Safari Books highlights
Stars: ✭ 143 (-94%)
Mutual labels:  highlight
Pandoc Markdown Book Template
A template for creating epub books from markdown using pandoc.
Stars: ✭ 191 (-91.98%)
Mutual labels:  epub

FolioReader logo FolioReaderKit is an ePub reader and parser framework for iOS written in Swift.

Version License

Features

  • ePub 2 and ePub 3 support
  • Custom Fonts
  • Custom Text Size
  • Text Highlighting
  • List / Edit / Delete Highlights
  • Themes / Day mode / Night mode
  • Handle Internal and External Links
  • Portrait / Landscape
  • Reading Time Left / Pages left
  • In-App Dictionary
  • Media Overlays (Sync text rendering with audio playback)
  • TTS - Text to Speech Support
  • Parse epub cover image
  • RTL Support
  • Vertical or/and Horizontal scrolling
  • Share Custom Image Quotes NEW
  • Support multiple instances at same time, like parallel reading NEW
  • Book Search
  • Add Notes to a Highlight

Who is using it?

On AppSight you can see apps that are using it in production.

Demo

Custom Fonts 😏 Text Highlighting 😍
Custom fonts Highlight
Reading Time Left 😮 Media Overlays 😭
Time left Media Overlays

Installation

FolioReaderKit is available through CocoaPods and Carthage.

Cocoapods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate FolioReaderKit into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'FolioReaderKit'
end

Then, run the following command:

$ pod install

Alternatively to give it a test run, run the command:

$ pod try FolioReaderKit

Carthage

Add the following to your Cartfile

github "FolioReader/FolioReaderKit"

Run the following command:

$ carthage update --platform iOS --no-use-binaries

Then, follow the steps as described in Carthage's README.

Requirements

  • iOS 9.0+
  • Xcode 10.1+

Basic Usage

To get started, this is a simple usage sample of using the integrated view controller.

import FolioReaderKit

func open(sender: AnyObject) {
    let config = FolioReaderConfig()
    let bookPath = Bundle.main.path(forResource: "book", ofType: "epub")
    let folioReader = FolioReader()
    folioReader.presentReader(parentViewController: self, withEpubPath: bookPath!, andConfig: config)
}

For more usage examples check the Example folder.

Storyboard

To get started, here is a simple example how to use the integrated view controller with storyboards.

import FolioReaderKit

class StoryboardFolioReaderContrainer: FolioReaderContainer {
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        
        let config = FolioReaderConfig()
        config.scrollDirection = .horizontalWithVerticalContent
        
        guard let bookPath = Bundle.main.path(forResource: "The Silver Chair", ofType: "epub") else { return }
        setupConfig(config, epubPath: bookPath)
    }
}

Go to your storyboard file, choose or create the view controller that should present the epub reader. In the identity inspector set StoryboardFolioReaderContrainer as class.

Documentation

Checkout Example and API Documentation

You can always use the header-doc. (use alt+click in Xcode)

Migration

If you are migrating to a newer version check out MIGRATION and CHANGELOG.

Author

Heberti Almeida

License

FolioReaderKit is available under the BSD license. See the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].