FolioReaderContainer
open class FolioReaderContainer : UIViewController
Reader container
-
Declaration
Swift
public var epubPath: String
-
Declaration
Swift
public var unzipPath: String?
-
Declaration
Swift
public var book: FRBook
-
Declaration
Swift
public var centerNavigationController: UINavigationController?
-
Declaration
Swift
public var centerViewController: FolioReaderCenter?
-
Declaration
Swift
public var audioPlayer: FolioReaderAudioPlayer?
-
Declaration
Swift
public var readerConfig: FolioReaderConfig
-
Declaration
Swift
public var folioReader: FolioReader
-
Init a Folio Reader Container
Declaration
Swift
public init(withConfig config: FolioReaderConfig, folioReader: FolioReader, epubPath path: String, unzipPath: String? = nil, removeEpub: Bool = true)
Parameters
config
Current Folio Reader configuration
folioReader
Current instance of the FolioReader kit.
path
The ePub path on system. Must not be nil nor empty string.
unzipPath
Path to unzip the compressed epub.
removeEpub
Should delete the original file after unzip? Default to
true
so the ePub will be unziped only once. -
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Set the
FolioReaderConfig
and epubPath.Declaration
Swift
open func setupConfig(_ config: FolioReaderConfig, epubPath path: String, unzipPath: String? = nil, removeEpub: Bool = true)
Parameters
config
Current Folio Reader configuration
path
The ePub path on system. Must not be nil nor empty string.
unzipPath
Path to unzip the compressed epub.
removeEpub
Should delete the original file after unzip? Default to
true
so the ePub will be unziped only once.
-
Declaration
Swift
override open func viewDidLoad()
-
Declaration
Swift
override open func viewDidAppear(_ animated: Bool)
-
Declaration
Swift
override open var prefersStatusBarHidden: Bool { get }
-
Declaration
Swift
override open var preferredStatusBarUpdateAnimation: UIStatusBarAnimation { get }
-
Declaration
Swift
override open var preferredStatusBarStyle: UIStatusBarStyle { get }