Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 committed Jun 10, 2018
1 parent 288be47 commit 99f1f6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Classes/New Group/ScrollViewForwarder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ extension GridScrollView {
}

open func touchesShouldBegin(_ touches: Set<UITouch>, with event: UIEvent?, in view: ViewAlias) -> Bool {
return touchesShouldBegin(touches, with: event, in: view)
return scrollView.touchesShouldBegin(touches, with: event, in: view)
}

open func touchesShouldCancel(in view: ViewAlias) -> Bool {
return touchesShouldCancel(in: view)
return scrollView.touchesShouldCancel(in: view)
}

open var minimumZoomScale: CGFloat {
Expand Down
2 changes: 1 addition & 1 deletion Classes/Views/GridTableViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class GridTableViewCell: UITableViewCell {

/// Grid view
open let gridView = GridView()
public let gridView = GridView()

@available(*, unavailable, message: "This method is unavailable", renamed: "gridView")
override var contentView: UIView {
Expand Down
2 changes: 1 addition & 1 deletion Classes/Views/GridView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ open class GridView: ViewAlias, GridViewInterface {
/**
View is dynamically extending vertically with each added element
*/
open var automaticVerticalSizing: Bool = false {
public var automaticVerticalSizing: Bool = false {
didSet {
reLayout()
}
Expand Down

0 comments on commit 99f1f6b

Please sign in to comment.