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

Commit 7a813df

Browse files
authored
Merge pull request #276 from kitasuke/swift3.0
Delete duplicate argument
2 parents 7aab5d2 + 4bdfdc7 commit 7a813df

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Pod/Classes/PagingViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ extension PagingViewController: ViewCleanable {
228228
}
229229

230230
extension PagingViewController: PageLoadable {
231-
func shouldLoad(page page: Int) -> Bool {
231+
func shouldLoad(page: Int) -> Bool {
232232
switch (options.menuControllerSet, options.lazyLoadingPage) {
233233
case (.single, _),
234234
(_, .one):
@@ -247,7 +247,7 @@ extension PagingViewController: PageLoadable {
247247
return true
248248
}
249249

250-
func isVisible(controller controller: UIViewController) -> Bool {
250+
func isVisible(controller: UIViewController) -> Bool {
251251
return self.childViewControllers.contains(controller)
252252
}
253253

Pod/Classes/Protocols/PageLoadable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import Foundation
1010

1111
protocol PageLoadable {
12-
func shouldLoad(page page: Int) -> Bool
13-
func isVisible(controller controller: UIViewController) -> Bool
12+
func shouldLoad(page: Int) -> Bool
13+
func isVisible(controller: UIViewController) -> Bool
1414
func showVisibleControllers()
1515
func hideVisibleControllers()
1616
}

0 commit comments

Comments
 (0)