Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

variable hideBars, scroll to navigate through paragraphs and scroll to read the content are added, README.md is updated #107

Merged
merged 12 commits into from
Aug 12, 2016

Conversation

PanajotisMaroungas
Copy link
Contributor

No description provided.

@hebertialmeida hebertialmeida self-assigned this Aug 9, 2016
@@ -78,21 +78,26 @@ class FolioReaderPage: UICollectionViewCell, UIWebViewDelegate, UIGestureRecogni
}

func webViewFrame() -> CGRect {
let paddingTop: CGFloat = 20

if (readerConfig.hideBars == true) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use guard here is more Swifty

Need to test, but something like this:

guard readerConfig.hideBars == false else { return UIScreen.mainScreen().bounds }

@hebertialmeida
Copy link
Member

This will closes issue #71, maybe this #75

@hebertialmeida hebertialmeida merged commit 954d8c6 into FolioReader:master Aug 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants