FolioReaderKit is an ePub reader and parser framework for iOS written in Swift.
FolioReaderKit is available through CocoaPods. To install it, simply add the following lines to your Podfile:
use_frameworks!
pod 'FolioReaderKit'
- iOS 8.0+
- Xcode 7.1+
To get started, this is a simple usage sample.
import FolioReaderKit
func open(sender: AnyObject) {
let config = FolioReaderConfig()
let bookPath = NSBundle.mainBundle().pathForResource("book", ofType: "epub")
FolioReader.presentReader(parentViewController: self, withEpubPath: bookPath!, andConfig: config)
}
- 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
- Unzip and parse ePub files
- Book Search
- Add Notes to a Highlight
- Write Some Tests
- Better Documentation
For now the documentation is the sample project, I will write a better documentation in the next weeks.
You have a problem that cannot be solved by having a look at the example project? No problem, let's talk:
FolioReaderKit is available under the GNU General Public license. See the LICENSE file for more info.