Skip to content
This repository was 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
hebertialmeida merged 12 commits into
FolioReader:masterfrom
PanajotisMaroungas:master
Aug 12, 2016
Merged

variable hideBars, scroll to navigate through paragraphs and scroll to read the content are added, README.md is updated#107
hebertialmeida merged 12 commits into
FolioReader:masterfrom
PanajotisMaroungas:master

Conversation

@PanajotisMaroungas
Copy link
Copy Markdown
Contributor

No description provided.

@hebertialmeida hebertialmeida self-assigned this Aug 9, 2016
Comment thread Source/FolioReaderPage.swift Outdated
func webViewFrame() -> CGRect {
let paddingTop: CGFloat = 20

if (readerConfig.hideBars == true) {
Copy link
Copy Markdown
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
Copy Markdown
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