Skip to content
This repository was archived by the owner on Jun 17, 2018. It is now read-only.

Commit 5b89211

Browse files
committed
Rename scrollEnabled
1 parent f3f18cd commit 5b89211

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Pod/Classes/PagingViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ open class PagingViewController: UIViewController {
7575

7676
fileprivate func setupContentScrollView() {
7777
contentScrollView.backgroundColor = options.backgroundColor
78-
contentScrollView.isScrollEnabled = options.scrollEnabled
78+
contentScrollView.isScrollEnabled = options.isScrollEnabled
7979
view.addSubview(contentScrollView)
8080
}
8181

Pod/Classes/Protocols/PagingMenuControllerCustomizable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111
public protocol PagingMenuControllerCustomizable {
1212
var defaultPage: Int { get }
1313
var animationDuration: TimeInterval { get }
14-
var scrollEnabled: Bool { get }
14+
var isScrollEnabled: Bool { get }
1515
var backgroundColor: UIColor { get }
1616
var lazyLoadingPage: LazyLoadingPage { get }
1717
var menuControllerSet: MenuControllerSet { get }
@@ -25,7 +25,7 @@ public extension PagingMenuControllerCustomizable {
2525
var animationDuration: TimeInterval {
2626
return 0.3
2727
}
28-
var scrollEnabled: Bool {
28+
var isScrollEnabled: Bool {
2929
return true
3030
}
3131
var backgroundColor: UIColor {

0 commit comments

Comments
 (0)