diff --git a/Source/FolioReaderCenter.swift b/Source/FolioReaderCenter.swift index 6d3f6ab95..29d13cd6b 100755 --- a/Source/FolioReaderCenter.swift +++ b/Source/FolioReaderCenter.swift @@ -27,7 +27,7 @@ public class FolioReaderCenter: UIViewController, UICollectionViewDelegate, UICo var pages: [String]! var totalPages: Int! var tempFragment: String? - var currentPage: FolioReaderPage? + public private(set) var currentPage: FolioReaderPage? var animator: ZFModalTransitionAnimator! var pageIndicatorView: FolioReaderPageIndicator? var pageIndicatorHeight: CGFloat = 20 @@ -781,10 +781,6 @@ public class FolioReaderCenter: UIViewController, UICollectionViewDelegate, UICo }) } } - - public func getCurrentPage() -> FolioReaderPage? { - return self.currentPage - } // MARK: - Audio Playing