FolioReaderDelegate

@objc
public protocol FolioReaderDelegate : AnyObject

FolioReader actions delegate

  • Did finished loading book.

    Declaration

    Swift

    @objc
    optional func folioReader(_ folioReader: FolioReader, didFinishedLoading book: FRBook)

    Parameters

    folioReader

    The FolioReader instance

    book

    The Book instance

  • Called when reader did closed.

    Declaration

    Swift

    @objc
    optional func folioReaderDidClose(_ folioReader: FolioReader)

    Parameters

    folioReader

    The FolioReader instance

  • Called when reader did closed.

    Declaration

    Swift

    @available(*, deprecated, message: "Use 'folioReaderDidClose(_ folioReader: FolioReader﹚' instead.")
    @objc
    optional func folioReaderDidClosed()